From: Patrice Chotard Date: Tue, 3 Dec 2024 10:06:11 +0000 (+0100) Subject: power: regulator: replace dev_dbg() by dev_err() in regulator_post_bind() X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=74cd1af1124fbe3cd16c58bc3ad9ff1f9c6ecf3e;p=u-boot.git power: regulator: replace dev_dbg() by dev_err() in regulator_post_bind() To ease debugging, use dev_err() instead of dev_dbg() for alerting when regulator has nonunique value. Signed-off-by: Patrice Chotard Reviewed-by: Quentin Schulz Reviewed-by: Jaehoon Chung --- diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index 80ea5e65d4..09567eb9db 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -446,7 +446,7 @@ static int regulator_post_bind(struct udevice *dev) } if (!regulator_name_is_unique(dev, uc_pdata->name)) { - dev_dbg(dev, "'%s' has nonunique value: '%s\n", + dev_err(dev, "'%s' has nonunique value: '%s\n", property, uc_pdata->name); return -EINVAL; }