diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2024-12-03 11:06:11 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2024-12-05 07:31:31 +0900 |
commit | 74cd1af1124fbe3cd16c58bc3ad9ff1f9c6ecf3e (patch) | |
tree | 76bd458bf4cf7e6f4fa438e6ff8e49c587e56187 | |
parent | ccddb0abec37f4628224ec20846b001a3e85e951 (diff) |
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 <patrice.chotard@foss.st.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | drivers/power/regulator/regulator-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index 80ea5e65d48..09567eb9dbb 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; } |