]> git.sur5r.net Git - u-boot/commit
drivers/rtc: prepare mvrtc for DM conversion
authorChris Packham <judge.packham@gmail.com>
Mon, 28 May 2018 11:39:57 +0000 (23:39 +1200)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jun 2018 00:19:08 +0000 (20:19 -0400)
commit942bb6e2ad05a027b62f47ab0305026a96a74815
treed5c39373481903d6cabd9444baf6645dd33593e0
parentff2b2ba845ee682b5eafe4abbb9adbf48730af4b
drivers/rtc: prepare mvrtc for DM conversion

Split the rtc_{get,set,reset} functions so that the bodies can be used
in a DM driver.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/rtc/mvrtc.c