summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/rc5t583-regulator.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-06-25 00:08:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 12:36:06 +0200
commitefd61e94fa3fd44b72afb5c0ab89bf400d9da40b (patch)
treef509c263669be885af6f339ce79dcd73669bfe8a /drivers/regulator/rc5t583-regulator.c
parentusb: adutux: use irqsave() in USB's complete callback (diff)
downloadlinux-efd61e94fa3fd44b72afb5c0ab89bf400d9da40b.tar.xz
linux-efd61e94fa3fd44b72afb5c0ab89bf400d9da40b.zip
usb: iowarrior: remove intr_idx_lock
The intr_idx_lock lock is acquired only in the completion callback of the ->int_in_urb (iowarrior_callback()). There is only one URB that is scheduled / completed so there can't be more than one user of the lock. The comment says that it protects ->intr_idx and the callback is the only place in driver that writes to it. Remove the intr_idx_lock lock because it is superfluous. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/rc5t583-regulator.c')
0 files changed, 0 insertions, 0 deletions