Skip to content
Commit ec73d960 authored by Simon Glass's avatar Simon Glass Committed by Jaehoon Chung
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 034e226b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment