summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-core.c
diff options
context:
space:
mode:
authorQuentin Lambert <lambert.quentin@gmail.com>2015-03-11 15:22:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-12 11:13:41 +0100
commitc84a083b995b0bde61640b6576f9c80584915b7a (patch)
tree714df51147159edfeb2d064a4292dbd32aaaa12b /drivers/mfd/wm831x-core.c
parentf6a14cf04fdb17de8a96c59518909216f6892e19 (diff)
downloadblackbird-obmc-linux-c84a083b995b0bde61640b6576f9c80584915b7a.tar.gz
blackbird-obmc-linux-c84a083b995b0bde61640b6576f9c80584915b7a.zip
Staging: dgnc: Use goto for spinlock release before return
spin_unlock_irqrestore() is called at several different places before exiting. This patch uses a goto statement to factorize these calls. Coccinelle was used to generate this patch. Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/wm831x-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud