power: supply: axp288_charger: Add missing newlines to some messages
authorHans de Goede <hdegoede@redhat.com>
Tue, 26 Dec 2017 12:59:00 +0000 (13:59 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 8 Jan 2018 17:38:57 +0000 (18:38 +0100)
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>
drivers/power/supply/axp288_charger.c

index 54a95d1963069221ca57068872287ed41d815258..d398f8ee296d5db98b5b3bf28313d31aba78cc02 100644 (file)
@@ -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. */