Commit 5a48503d authored by Sven Wegener's avatar Sven Wegener Committed by Richard Purdie

leds: Fix sparse warning in leds-ams-delta

drivers/leds/leds-ams-delta.c:154:2: warning: returning void-valued expression
Signed-off-by: default avatarSven Wegener <sven.wegener@stealer.net>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent ff8649af
...@@ -151,7 +151,7 @@ static int __init ams_delta_led_init(void) ...@@ -151,7 +151,7 @@ static int __init ams_delta_led_init(void)
static void __exit ams_delta_led_exit(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); module_init(ams_delta_led_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment