rtc: rtc-sh fixes
authorAlessandro Zummo <a.zummo@towertech.it>
Thu, 20 Aug 2009 04:25:11 +0000 (13:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 20 Aug 2009 04:25:11 +0000 (13:25 +0900)
commit5c9740a8b797c9141a39e8115f5652d7bb28a67d
tree33b8abf39e7b7bae684436b47c564ec2aab92093
parent2bfc3305f6b3e08645f7d6b9514211d955b02698
rtc: rtc-sh fixes

- simplifies irq set freq
- ioctl() was duplicating functionalities of rtc-dev core
- corrected initialization sequence
- use platform_driver_probe

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Angelo Castello <angelo.castello@st.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Jamie Lenehan <lenehan@twibble.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/rtc/rtc-sh.c