rtc: m41t62: Extract common RTC handling code to facilitate DM conversion
authorLukasz Majewski <lukma@denx.de>
Thu, 22 Nov 2018 13:54:33 +0000 (14:54 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
commit7afc4155a75aaca99f6bf4011de95415fbc04dc7
tree9b0d898653f6f7374db6ac71cdb952ae3e2e5240
parent4d3df956fbe8e53954c8649c5279d59b44a9bd51
rtc: m41t62: Extract common RTC handling code to facilitate DM conversion

This change facilitates the conversion of m41t62 RTC driver to device
model (DM).

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