rockchip: mmc: Use a pwrseq device if available
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:34 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commite1efec4e0aadb90e5b10b7d3ed4c34da372aad92
tree8d92b519c5924b680d010a06ef901096e6d02560
parenta4275f5e5264525205f0516015bd3e6b3ecc4d72
rockchip: mmc: Use a pwrseq device if available

Use the pwrseq uclass to find a suitable power sequence for the MMC device.
If this is enabled in the device tree, we will pick it up automatically.

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