mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
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>
This commit is contained in:
parent
ccddb0abec
commit
74cd1af112
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue