rockchip: mmc: Move all DT decoding to ofdata_to_platdata()
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:26 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit6809b04f48fe02c26127383391d153d18134c77b
tree7c9f3e496a4f30f999e701bbaf42c8a735033e37
parent9ca7e6720e96e82be1de9ec0ba6bac9f1beeb02f
rockchip: mmc: Move all DT decoding to ofdata_to_platdata()

It is more correct to avoid touching the device tree in the probe() method.
Update the driver to work this way.

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