]> Pileus Git - ~andy/linux/commit
rtc: rtc-ds1302 fixes
authorAlessandro Zummo <a.zummo@towertech.it>
Thu, 20 Aug 2009 03:31:49 +0000 (12:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 20 Aug 2009 03:31:49 +0000 (12:31 +0900)
commit2bfc3305f6b3e08645f7d6b9514211d955b02698
tree04bea317e1207140503ec964e98e42ee7f343c73
parent307646c958f0f3c3624368eaa72dce8567b25f93
rtc: rtc-ds1302 fixes

- removed spinlock protection, it's handled by the rtc class
- use platform_driver_probe
- return appropriate code for rtc_read_time
- style issues

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-ds1302.c