aboutsummaryrefslogtreecommitdiff
path: root/cmd/regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/regulator.c')
-rw-r--r--cmd/regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/regulator.c b/cmd/regulator.c
index 2ef5bc9a828..b605255180d 100644
--- a/cmd/regulator.c
+++ b/cmd/regulator.c
@@ -71,7 +71,7 @@ static int curr_dev_and_platdata(struct udevice **devp,
*uc_pdata = dev_get_uclass_platdata(*devp);
if (!*uc_pdata) {
- error("Regulator: %s - missing platform data!", currdev->name);
+ pr_err("Regulator: %s - missing platform data!", currdev->name);
return CMD_RET_FAILURE;
}