]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-ds1216 fixes
authorAlessandro Zummo <a.zummo@towertech.it>
Tue, 6 Jan 2009 22:42:23 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:25 +0000 (15:59 -0800)
commit7e6c7c2fd9a2f9b089911b7ca340ee7526f5d2fa
treefe263c09d931eafe9bc37c8df2ff52df6b9f7473
parent531460d8a11ba135819311958dbbf0eb70c43166
rtc: rtc-ds1216 fixes

Fixes a few issues with the rtc-ds1216 driver

- use rtc_valid_tm

- use platform_driver_probe

- fix init sequence - it was using rtc_unregister_driver where not
  needed.  I also added resource_size and removed an useless pointer
  assignment.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Tested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1216.c