提交 5a48503d 编写于 作者: S Sven Wegener 提交者: 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: NSven Wegener <sven.wegener@stealer.net>
Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
上级 ff8649af
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册