power: reset: gpio-poweroff: add missing '\n' in dev_err()
authorLuca Ceresoli <luca@lucaceresoli.net>
Wed, 3 Jun 2020 16:21:18 +0000 (18:21 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 5 Jun 2020 23:13:26 +0000 (01:13 +0200)
dev_err() needs a terminating newline.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/gpio-poweroff.c

index 6a4bbb5..c5067eb 100644 (file)
@@ -54,7 +54,7 @@ static int gpio_poweroff_probe(struct platform_device *pdev)
        /* If a pm_power_off function has already been added, leave it alone */
        if (pm_power_off != NULL) {
                dev_err(&pdev->dev,
-                       "%s: pm_power_off function already registered",
+                       "%s: pm_power_off function already registered\n",
                       __func__);
                return -EBUSY;
        }