]> git.sur5r.net Git - u-boot/commit
dm: rtc: Support mc146818 driver in driver model
authorBin Meng <bmeng.cn@gmail.com>
Tue, 23 Jun 2015 04:18:41 +0000 (12:18 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:16 +0000 (18:03 -0600)
commited2ac0d564c4fac1178d36ea46a34b923c262d03
treeceed2df586e5e7f91ba9a18b75ece4726866da7a
parent990acd0d5165c3ca36716e01c5c182423bdfc16a
dm: rtc: Support mc146818 driver in driver model

Add driver model support to the mc146818 rtc driver. Also clean up
the driver a little bit for coding convention issues.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/rtc/mc146818.c