board: samsung: add missing line breaks for pr_err()
After the commit 9b643e312d
("treewide: replace with error() with
pr_err()"), there are some pr_err() with no line break. Add missing
line breaks.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
e94b93d5bb
commit
5c890b1bc8
@ -164,7 +164,7 @@ int board_usb_init(int index, enum usb_init_type init)
|
||||
samsung_get_base_usb3_phy();
|
||||
|
||||
if (!phy) {
|
||||
pr_err("usb3 phy not supported");
|
||||
pr_err("usb3 phy not supported\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
@ -456,7 +456,7 @@ void draw_logo(void)
|
||||
|
||||
addr = panel_info.logo_addr;
|
||||
if (!addr) {
|
||||
pr_err("There is no logo data.");
|
||||
pr_err("There is no logo data.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -428,7 +428,7 @@ int exynos_power_init(void)
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
@ -441,7 +441,7 @@ static int s5pc210_phy_control(int on)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@ -486,25 +486,25 @@ int board_usb_init(int index, enum usb_init_type init)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user