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)