diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-07-21 04:37:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 17:49:17 -0700 |
commit | ef154ec69c45aa052b1fa71ee5eeaca7e7f920a3 (patch) | |
tree | 609d42b7547307c04c988547dd6bdbb15808642c /drivers/rtc/rtc-ds1553.c | |
parent | 8214b0832cb3c0b74198e5b22c0e070aeaa3dd20 (diff) | |
download | linux-stable-ef154ec69c45aa052b1fa71ee5eeaca7e7f920a3.tar.gz linux-stable-ef154ec69c45aa052b1fa71ee5eeaca7e7f920a3.tar.bz2 linux-stable-ef154ec69c45aa052b1fa71ee5eeaca7e7f920a3.zip |
rtc: do not return void value
This patch fixes these sparse warnings:
drivers/rtc/rtc-ds1742.c:265:2: warning: returning void-valued expression
drivers/rtc/rtc-ds1553.c:409:2: warning: returning void-valued expression
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
-rw-r--r-- | drivers/rtc/rtc-ds1553.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index f98a83a11aae..46da5714932c 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c @@ -407,7 +407,7 @@ static __init int ds1553_init(void) static __exit void ds1553_exit(void) { - return platform_driver_unregister(&ds1553_rtc_driver); + platform_driver_unregister(&ds1553_rtc_driver); } module_init(ds1553_init); |