diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2008-12-03 03:06:42 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-08 07:38:57 -0500 |
commit | 5a48503d3c388735f3352d325254b82e02b09981 (patch) | |
tree | 28adaff15ca82747ce188b7d1ca6f489ca0507aa /drivers | |
parent | ff8649affc10a86e41d9ba1d91a643d4654dae5b (diff) |
leds: Fix sparse warning in leds-ams-delta
drivers/leds/leds-ams-delta.c:154:2: warning: returning void-valued expression
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/leds/leds-ams-delta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c index 1bd590bb3a6e..da6242ad2b66 100644 --- a/drivers/leds/leds-ams-delta.c +++ b/drivers/leds/leds-ams-delta.c | |||
@@ -151,7 +151,7 @@ static int __init ams_delta_led_init(void) | |||
151 | 151 | ||
152 | static void __exit ams_delta_led_exit(void) | 152 | static void __exit ams_delta_led_exit(void) |
153 | { | 153 | { |
154 | return platform_driver_unregister(&ams_delta_led_driver); | 154 | platform_driver_unregister(&ams_delta_led_driver); |
155 | } | 155 | } |
156 | 156 | ||
157 | module_init(ams_delta_led_init); | 157 | module_init(ams_delta_led_init); |