rtc: move power of 2 periodic frequency check down into drivers
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 6 Jan 2009 22:42:12 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:24 +0000 (15:59 -0800)
commit5d2a50371ddf127afa782ad3147469be8e9bd69f
treebc7b7032512c17f493e5f656044c79c17952f517
parent2fac6674ddf3164da42a76d62f8912073d629a30
rtc: move power of 2 periodic frequency check down into drivers

Move the power of 2 check on frequencies down into individual rtc drivers

This is to allow for non power of 2 real time clock periodic interrupts
such as those on the pxa27x to be found in the new pxa27x-rtc driver

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
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/interface.c
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-s3c.c
drivers/rtc/rtc-sh.c
drivers/rtc/rtc-vr41xx.c