aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ams-delta.c
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-12-03 03:06:42 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-08 07:38:57 -0500
commit5a48503d3c388735f3352d325254b82e02b09981 (patch)
tree28adaff15ca82747ce188b7d1ca6f489ca0507aa /drivers/leds/leds-ams-delta.c
parentff8649affc10a86e41d9ba1d91a643d4654dae5b (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/leds/leds-ams-delta.c')
-rw-r--r--drivers/leds/leds-ams-delta.c2
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
152static void __exit ams_delta_led_exit(void) 152static 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
157module_init(ams_delta_led_init); 157module_init(ams_delta_led_init);