summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-12-26 13:59:00 +0100
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>2018-01-08 18:38:57 +0100
commita59943f8f6a74460254515b359dfd045615adc9a (patch)
treed312d71c846702290129e2535d8603596fe84d23 /drivers/power
parentd8e651953595403eb3504c1306135c24f243c7d9 (diff)
downloadlinux-stable-a59943f8f6a74460254515b359dfd045615adc9a.tar.gz
linux-stable-a59943f8f6a74460254515b359dfd045615adc9a.tar.bz2
linux-stable-a59943f8f6a74460254515b359dfd045615adc9a.zip
power: supply: axp288_charger: Add missing newlines to some messages
Add missing (terminating) "\n"-s to some dev_dbg messages. Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/axp288_charger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/supply/axp288_charger.c b/drivers/power/supply/axp288_charger.c
index 54a95d196306..d398f8ee296d 100644
--- a/drivers/power/supply/axp288_charger.c
+++ b/drivers/power/supply/axp288_charger.c
@@ -584,13 +584,13 @@ static void axp288_charger_extcon_evt_worker(struct work_struct *work)
/* Determine cable/charger type */
if (extcon_get_state(edev, EXTCON_CHG_USB_SDP) > 0) {
- dev_dbg(&info->pdev->dev, "USB SDP charger is connected");
+ dev_dbg(&info->pdev->dev, "USB SDP charger is connected\n");
current_limit = ILIM_500MA;
} else if (extcon_get_state(edev, EXTCON_CHG_USB_CDP) > 0) {
- dev_dbg(&info->pdev->dev, "USB CDP charger is connected");
+ dev_dbg(&info->pdev->dev, "USB CDP charger is connected\n");
current_limit = ILIM_1500MA;
} else if (extcon_get_state(edev, EXTCON_CHG_USB_DCP) > 0) {
- dev_dbg(&info->pdev->dev, "USB DCP charger is connected");
+ dev_dbg(&info->pdev->dev, "USB DCP charger is connected\n");
current_limit = ILIM_2000MA;
} else {
/* Charger type detection still in progress, bail. */