diff options
author | Axel Lin <[email protected]> | 2010-05-17 17:47:48 +0800 |
---|---|---|
committer | Richard Purdie <[email protected]> | 2010-05-26 13:07:55 +0100 |
commit | 7e1ce34f25c984a93dc0a2d8c217f7f78516b376 (patch) | |
tree | 9c34d31b78f255e6ff00107075ca340c09ba8970 /fs/jbd2/commit.c | |
parent | 569762ef3dcf8fc5aecdb059d8c0741b90fe1d17 (diff) |
leds: leds-lp3944: properly handle lp3944_configure fail in lp3944_probe
In current implementation, lp3944_probe return 0 even if lp3944_configure fail.
Therefore, led_classdev_unregister will be executed twice
( in error handling of lp3944_configure and lp3944_remove ).
This patch properly handles lp3944_configure fail in lp3944_probe.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Acked-by: Antonio Ospite <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions