dm: mmc: sunxi: Add support for driver model
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:27 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
commitdd27918c22521a4f1d33dc9aafe60ecf9975938b
tree3e73984cbe37c06fb74d17b30e69c498cedbc05d
parentec73d96090c4a513f1fe3a458987ed43480f29d4
dm: mmc: sunxi: Add support for driver model

Add a driver-model version of this driver which mostly uses the existing
code. The old code can be removed once all boards are switched over.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/sunxi_mmc.c