From: Jaehoon Chung Date: Mon, 5 Aug 2024 01:41:04 +0000 (+0900) Subject: power: regulator-uclass: Use printf instead of pr_info X-Git-Tag: accepted/tizen/unified/x/20240807.083140~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14a3609e1de17216fc3e231d568b60be509acc3c;p=platform%2Fkernel%2Fu-boot-spacemit.git power: regulator-uclass: Use printf instead of pr_info Use printf instead of pr_info. - Original code is using printf. Change-Id: If8aed9c91d7e1039dc444a5168927332863c1229 Signed-off-by: Jaehoon Chung --- diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index 06d2fae43b..aca00e56bb 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -330,15 +330,15 @@ static void regulator_show(struct udevice *dev, int ret) uc_pdata = dev_get_uclass_plat(dev); - pr_info("%s@%s: ", dev->name, uc_pdata->name); + printf("%s@%s: ", dev->name, uc_pdata->name); if (uc_pdata->flags & REGULATOR_FLAG_AUTOSET_UV) - pr_info("set %d uV", uc_pdata->min_uV); + printf("set %d uV", uc_pdata->min_uV); if (uc_pdata->flags & REGULATOR_FLAG_AUTOSET_UA) - pr_info("; set %d uA", uc_pdata->min_uA); - pr_info("; enabling"); + printf("; set %d uA", uc_pdata->min_uA); + printf("; enabling"); if (ret) - pr_info(" (ret: %d)", ret); - pr_info("\n"); + printf(" (ret: %d)", ret); + printf("\n"); } int regulator_autoset_by_name(const char *platname, struct udevice **devp)