From: Jaehoon Chung Date: Mon, 24 Oct 2016 06:22:22 +0000 (+0900) Subject: mmc: add the device name in debugging message for supplying vmmc X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=288db7c7c00acadf699a726deba2d9825bdd9c2b;p=u-boot.git mmc: add the device name in debugging message for supplying vmmc If vmmc didn't supply, we didn't know which card didn't supply vmmc. And changed from "put" to "debug". Signed-off-by: Jaehoon Chung Reviewed-by: Peng Fan --- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 320413aeed..4380c7c195 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1595,7 +1595,7 @@ static int mmc_power_init(struct mmc *mmc) ret = device_get_supply_regulator(mmc->dev, "vmmc-supply", &vmmc_supply); if (ret) { - puts("No vmmc supply\n"); + debug("%s: No vmmc supply\n", mmc->dev->name); return 0; }