mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 15:00:53 +07:00
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>
This commit is contained in:
parent
ff8649affc
commit
5a48503d3c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user