]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: mmc: Don't call board_mmc_power_init() with driver model
authorSimon Glass <sjg@chromium.org>
Sun, 23 Apr 2017 01:10:56 +0000 (19:10 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:04 +0000 (07:03 -0600)
commit05cbeb7c3612da8d4bafa82be05092450a500052
tree3cb93562c7a9bc6df4978fc69b1af7960cbab273
parent7a61b0b58f560ec0c29cbfa276aa938f76ea06b3
dm: mmc: Don't call board_mmc_power_init() with driver model

We should not call out to board code from drivers. With driver model,
mmc_power_init() already has code to use a named regulator, but the
legacy code path remains. Update the code to make this clear.

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