rtc: m41t62: Convert the RTC driver to support the driver model (DM)
authorLukasz Majewski <lukma@denx.de>
Thu, 22 Nov 2018 13:54:34 +0000 (14:54 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
commitc8c0242f1ccc189f03421247e17afce06416ca11
tree85716a78b6f622d1e9814de068aa3537ee8fd23b
parent7afc4155a75aaca99f6bf4011de95415fbc04dc7
rtc: m41t62: Convert the RTC driver to support the driver model (DM)

After this change the m41t62.c can be used with RTC subsystem (i.e. date
command) which uses device model (DM).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t62.c