rtc: sa1100: prepare to share sa1100_rtc_ops
authorRob Herring <robh@kernel.org>
Tue, 12 May 2015 21:23:23 +0000 (16:23 -0500)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:15 +0000 (19:37 +0200)
commit8c0961ba7c9356186a0606a391f08e2ecb491a57
treedfcd9e54d61e118f2a805acbc240ec8143bd43e2
parentdc2280ebf45bfa4fbc4b1588a6642aa33454a9b8
rtc: sa1100: prepare to share sa1100_rtc_ops

Factor out the RTC initialization from the platform device specific
parts in order to share the RTC device ops with other drivers.
Specifically, it will be shared with rtc-pxa driver.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-sa1100.c
drivers/rtc/rtc-sa1100.h [new file with mode: 0644]