summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-12-03 08:06:42 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-08 12:38:57 +0000
commit5a48503d3c388735f3352d325254b82e02b09981 (patch)
tree28adaff15ca82747ce188b7d1ca6f489ca0507aa /drivers
parentff8649affc10a86e41d9ba1d91a643d4654dae5b (diff)
downloadblackbird-op-linux-5a48503d3c388735f3352d325254b82e02b09981.tar.gz
blackbird-op-linux-5a48503d3c388735f3352d325254b82e02b09981.zip
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.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)
static void __exit ams_delta_led_exit(void)
{
- return platform_driver_unregister(&ams_delta_led_driver);
+ platform_driver_unregister(&ams_delta_led_driver);
}
module_init(ams_delta_led_init);
OpenPOWER on IntegriCloud