power: regulator-uclass: Use printf instead of pr_info 83/315583/1
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Aug 2024 01:41:04 +0000 (10:41 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 5 Aug 2024 01:41:04 +0000 (10:41 +0900)
Use printf instead of pr_info.
- Original code is using printf.

Change-Id: If8aed9c91d7e1039dc444a5168927332863c1229
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/regulator/regulator-uclass.c

index 06d2fae43bbaee52da7fde7704ddb3e8b02bdc68..aca00e56bbefeb35e6f042bbd080849ac4acec73 100644 (file)
@@ -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)