From: Hannes Eder Date: Sun, 30 Nov 2008 13:05:45 +0000 (+0100) Subject: trivial: rtc-ds1511: fix sparse warning X-Git-Tag: v2.6.29-rc1~197^2~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4367fa510737fc95094f92f6c6fb068b0410431d;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Hannes Eder Signed-off-by: Jiri Kosina --- diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index 25caada7839..062a1d11e3d 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c @@ -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);