trivial: rtc-ds1511: fix sparse warning
authorHannes Eder <hannes@hanneseder.net>
Sun, 30 Nov 2008 13:05:45 +0000 (14:05 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Jan 2009 10:28:05 +0000 (11:28 +0100)
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>
drivers/rtc/rtc-ds1511.c

index 25caada78398e76ee83d58507a6fed256eb306ef..062a1d11e3de03c78914fd27b12dab3628312d9a 100644 (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);