mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
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>
This commit is contained in:
parent
972eabb97a
commit
5a1c9565c0
1 changed files with 1 additions and 1 deletions
|
@ -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 a pm_power_off function has already been added, leave it alone */
|
||||||
if (pm_power_off != NULL) {
|
if (pm_power_off != NULL) {
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"%s: pm_power_off function already registered",
|
"%s: pm_power_off function already registered\n",
|
||||||
__func__);
|
__func__);
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue