]> git.baikalelectronics.ru Git - uboot.git/commit
dm: mmc: sunxi: Drop mmc_clk_io_on()
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:26 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
commitf43a87dec3388345b1910923808ada9e4c7f54b0
tree24ffdf08854d12737784ff566658130364ec06ea
parent90ae3df7b07d9f87d79b1484acf6fcda116fe424
dm: mmc: sunxi: Drop mmc_clk_io_on()

This function has #ifdefs in it which we want to avoid for driver model.
Instead we should use different compatible strings and the .data field.
It also uses the MMC device number which is not available in driver
model except through aliases.

Move the function's into its caller so that the driver-model version can
do things its own way.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/mmc/sunxi_mmc.c