Commit 4367fa51 authored by Hannes Eder's avatar Hannes Eder Committed by Jiri Kosina

trivial: rtc-ds1511: fix sparse warning

Fix this sparse warning:

  drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression
Acked-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 24d431d0
......@@ -631,7 +631,7 @@ ds1511_rtc_init(void)
static void __exit
ds1511_rtc_exit(void)
{
return platform_driver_unregister(&ds1511_rtc_driver);
platform_driver_unregister(&ds1511_rtc_driver);
}
module_init(ds1511_rtc_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