};
if (regulator_list_autoset(mmc_regulators, NULL, true))
- pr_err("Unable to init all mmc regulators");
+ pr_err("Unable to init all mmc regulators\n");
return 0;
}
ret = regulator_get_by_platname("VDD_UOTG_3.0V", &dev);
if (ret) {
- pr_err("Regulator get error: %d", ret);
+ pr_err("Regulator get error: %d\n", ret);
return ret;
}
ret = regulator_get_by_platname("VCC_P3V3_2.85V", &dev);
if (ret) {
- pr_err("Regulator get error: %d", ret);
+ pr_err("Regulator get error: %d\n", ret);
return ret;
}
ret = regulator_set_enable(dev, true);
if (ret) {
- pr_err("Regulator %s enable setting error: %d", dev->name, ret);
+ pr_err("Regulator %s enable setting error: %d\n", dev->name, ret);
return ret;
}
ret = regulator_set_value(dev, 750000);
if (ret) {
- pr_err("Regulator %s value setting error: %d", dev->name, ret);
+ pr_err("Regulator %s value setting error: %d\n", dev->name, ret);
return ret;
}
ret = regulator_set_value(dev, 3300000);
if (ret) {
- pr_err("Regulator %s value setting error: %d", dev->name, ret);
+ pr_err("Regulator %s value setting error: %d\n", dev->name, ret);
return ret;
}
#endif