]> Git Repo - u-boot.git/commit - drivers/mmc/mmc.c
dm: mmc: Don't call board_mmc_power_init() with driver model
authorSimon Glass <[email protected]>
Sun, 23 Apr 2017 01:10:56 +0000 (19:10 -0600)
committerSimon Glass <[email protected]>
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 <[email protected]>
drivers/mmc/mmc.c
This page took 0.032404 seconds and 4 git commands to generate.