summaryrefslogtreecommitdiff
path: root/board/samsung/odroid/odroid.c
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-06-04 16:03:05 +0900
committerTom Rini <trini@konsulko.com>2018-06-07 20:06:29 -0400
commit5c890b1bc85af5cfb05916e360dc2919ec18ac12 (patch)
tree1cb944f7c8de9ffdf2ff63b7dfb0d48f6e833f17 /board/samsung/odroid/odroid.c
parente94b93d5bba5751f420b641cdbcc0cb53fea1dc1 (diff)
board: samsung: add missing line breaks for pr_err()
After the commit 9b643e312d52 ("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>
Diffstat (limited to 'board/samsung/odroid/odroid.c')
-rw-r--r--board/samsung/odroid/odroid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index 1c2bd01da2..552333fe86 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -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