]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: use set_mmss when set_time is not available
authorAlessandro Zummo <a.zummo@towertech.it>
Tue, 6 Jan 2009 22:42:21 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:25 +0000 (15:59 -0800)
commit14869189af84b771d115a206bd82cf02db4ee98a
tree8c9797c7914b0f7fc78e5878ef33ae5f3219a202
parent2ac0894db3f7d0365e34103c67aef408af02e07f
rtc: use set_mmss when set_time is not available

Drivers should only need to implement either set_mmss (counter based RTCs)
or set_time (most RTCs).  The RTC subsystem will handle them
appropriately.

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/interface.c
drivers/rtc/rtc-ds1672.c
drivers/rtc/rtc-ep93xx.c
drivers/rtc/rtc-test.c