diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-11-13 00:09:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:21 +0100 |
commit | ce726c9738a27ee32a00136cc512b1058044a0fe (patch) | |
tree | 57acdb0383364b683ffed7b224850283fe3bcd82 /lib/locking-selftest-rlock-hardirq.h | |
parent | backlight: atmel-pwm-bl: fix module autoload (diff) | |
download | linux-ce726c9738a27ee32a00136cc512b1058044a0fe.tar.xz linux-ce726c9738a27ee32a00136cc512b1058044a0fe.zip |
backlight: atmel-pwm-bl: clean up probe error handling
Clean up probe error handling by checking parameters before any
allocations and removing an obsolete error label. Also remove unnecessary
reset of private gpio number.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions