trivial: rtc-ds1511: fix sparse warning

Fix this sparse warning:

  drivers/rtc/rtc-ds1511.c:634:2: warning: returning void-valued expression

Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Hannes Eder 2008-11-30 14:05:45 +01:00 committed by Jiri Kosina
parent 24d431d06a
commit 4367fa5107
1 changed files with 1 additions and 1 deletions

View File

@ -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);