diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2020-06-03 18:21:18 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-06-06 01:13:26 +0200 |
commit | 5a1c9565c07b981449d8432cab2927cbeca73476 (patch) | |
tree | a82348e722086c18aaf238a21eeb82ffd1e93805 /drivers | |
parent | 972eabb97aab8e5d86c79f28a707e0d1e8a1d1a0 (diff) |
power: reset: gpio-poweroff: add missing '\n' in dev_err()
dev_err() needs a terminating newline.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/reset/gpio-poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/gpio-poweroff.c b/drivers/power/reset/gpio-poweroff.c index 6a4bbb506551..c5067eb75370 100644 --- a/drivers/power/reset/gpio-poweroff.c +++ b/drivers/power/reset/gpio-poweroff.c @@ -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; } |