From: Sven Wegener Date: Wed, 3 Dec 2008 08:06:42 +0000 (+0000) Subject: leds: Fix sparse warning in leds-ams-delta X-Git-Tag: v2.6.29-rc1~25^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a48503d3c388735f3352d325254b82e02b09981;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Richard Purdie --- diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c index 1bd590b..da6242a 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);