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:
committed by
Jaehoon Chung
parent
ccddb0abec
commit
74cd1af112
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user