commit | 143b77ce03b44779987109486212838df2f03cae | [log] [tgz] |
---|---|---|
author | Álvaro Fernández Rojas <noltari@gmail.com> | Tue Dec 15 21:03:51 2015 +0100 |
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | Mon Jan 04 09:57:40 2016 +0100 |
tree | f0ef47bbeaece8b0e06a377e73d29f636f0a331e | |
parent | 4ba113b6d4a4cec461e373aca44ce6bb2cb02476 [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>