dm: regulator: print uc_pdata name instead of dev name
The uc_pdata->name is from property "regulator-name" which is more accuracy to descript this regulator. Change-Id: I813604ff528b757a1f9b9191dbdd4472f838a367 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
fde344bd1b
commit
54c0dba4a1
|
|
@ -289,7 +289,7 @@ int regulator_autoset(struct udevice *dev)
|
|||
ret = regulator_set_value(dev, uc_pdata->init_uV);
|
||||
if (!ret)
|
||||
printf("%s init %d uV\n",
|
||||
dev->name, uc_pdata->init_uV);
|
||||
uc_pdata->name, uc_pdata->init_uV);
|
||||
}
|
||||
|
||||
if (!ret && (uc_pdata->flags & REGULATOR_FLAG_AUTOSET_UA))
|
||||
|
|
|
|||
Loading…
Reference in New Issue