From: Hannes Eder Date: Fri, 28 Nov 2008 16:11:47 +0000 (+0100) Subject: trivial: rtc-stk17ta8: fix sparse warning X-Git-Tag: v2.6.29-rc1~197^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=277835adca10a696ac3e2a103ea537658c141a3c;p=linux-2.6-omap-h63xx.git trivial: rtc-stk17ta8: fix sparse warning Fix this sparse warning: drivers/rtc/rtc-stk17ta8.c:403: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-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index f4cd46e15af..549990f3359 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c @@ -400,7 +400,7 @@ static __init int stk17ta8_init(void) static __exit void stk17ta8_exit(void) { - return platform_driver_unregister(&stk17ta8_rtc_driver); + platform_driver_unregister(&stk17ta8_rtc_driver); } module_init(stk17ta8_init);