summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp8788.c
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2015-12-15 21:03:51 +0100
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-01-04 09:57:40 +0100
commit143b77ce03b44779987109486212838df2f03cae (patch)
treef0ef47bbeaece8b0e06a377e73d29f636f0a331e /drivers/leds/leds-lp8788.c
parent4ba113b6d4a4cec461e373aca44ce6bb2cb02476 (diff)
leds: bcm6328: simplify duplicated unlock in bcm6328_blink_set
Instead of duplicating the unlock we can store the return value and use a single unlock before returning that value, which simplifies the code. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-lp8788.c')
0 files changed, 0 insertions, 0 deletions