RTC: sa1100: Update the sa1100 RTC driver.
authorMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
Mon, 7 Feb 2011 21:16:08 +0000 (19:16 -0200)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 9 Mar 2011 19:25:08 +0000 (11:25 -0800)
commit416f0e8056f757c119dc3d4fa434a62b65c8272b
tree30ec5a34ddcf781d950c0d907e1f52acc42a2350
parenta417493ef916b8b6d1782a589766a713c553842e
RTC: sa1100: Update the sa1100 RTC driver.

Since PIE interrupts are now emulated, this patch removes the previous
code that used the hardware counters.

The removal of read_callback() also fixes a wrong user space behaviour
of this driver, which was not returning the right value to read().

[john.stultz: Merge fixups]

CC: Thomas Gleixner <tglx@linutronix.de>
CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
CC: rtc-linux@googlegroups.com
Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/rtc-sa1100.c