]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/most/most_usb.c
staging: most: hdm-usb: assign spinlock to local variable
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 19 Aug 2016 09:12:55 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 14:53:57 +0000 (16:53 +0200)
commitcf6a599ef700914d9237f4dcf7afe01dd2ca6368
tree59a5ca4e26904d9b977ad7f56358ac6ee1b6483d
parentbf9503f11dedf40158a8a5847f2d482bc15cd82b
staging: most: hdm-usb: assign spinlock to local variable

This patch assigns the spinlock of struct mdev to local spinlock_t
variable to get rid of all the ugly dereferencing.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c