]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
trivial: rtc-stk17ta8: fix sparse warning
authorHannes Eder <hannes@hanneseder.net>
Fri, 28 Nov 2008 16:11:47 +0000 (17:11 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Jan 2009 10:28:05 +0000 (11:28 +0100)
Fix this sparse warning:

  drivers/rtc/rtc-stk17ta8.c:403: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-stk17ta8.c

index f4cd46e15af98830ac3c580c52563119e7bc103e..549990f33597ec2e9dabe30ef2d92313ab8b6af0 100644 (file)
@@ -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);