rtc: rtc-sun4v fixes, revised
commitcecf61bdee426a3e0a014f7e26990d09c71ed458
authorAlessandro Zummo <a.zummo@towertech.it>
Sat, 15 Nov 2008 00:37:54 +0000 (14 16:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Nov 2008 00:37:54 +0000 (14 16:37 -0800)
tree6a35a56424bbf23dd669f5faa7c0192dd2412c1e
parente64ed0225bd82d4c108c9f78f46070cfade14fac
rtc: rtc-sun4v fixes, revised

- simplified code
- use platform_driver_probe
- removed locking: it's provided by rtc subsystem

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/rtc/rtc-sun4v.c