]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit97a1f9532ed41fd9cf5249fc1afae23fd47d1120
treefe263c09d931eafe9bc37c8df2ff52df6b9f7473
parent0e1492330cd2c95df2553335d7a77351021a938f
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