summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-09-02 15:00:40 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-09-02 20:32:23 +0200
commit0e063317d579d0a7fca957461332b6832da69850 (patch)
treef3411c27e6abb4372351e0d658047a9f76cef450 /drivers
parent8288022284859acbcc3cf1a073a1e2692d6c2543 (diff)
downloadlinux-stable-0e063317d579d0a7fca957461332b6832da69850.tar.gz
linux-stable-0e063317d579d0a7fca957461332b6832da69850.tar.bz2
linux-stable-0e063317d579d0a7fca957461332b6832da69850.zip
power: reset: gpio-restart: Fix typo when gpio reset is not found
Trivial patch which just corrects error message. Fixes: 371bb20d6927 ("power: Add simple gpio-restart driver") Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/reset/gpio-restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c
index 2880cd5ae0d2..308ca9d9d276 100644
--- a/drivers/power/reset/gpio-restart.c
+++ b/drivers/power/reset/gpio-restart.c
@@ -65,7 +65,7 @@ static int gpio_restart_probe(struct platform_device *pdev)
gpio_restart->reset_gpio = devm_gpiod_get(&pdev->dev, NULL,
open_source ? GPIOD_IN : GPIOD_OUT_LOW);
if (IS_ERR(gpio_restart->reset_gpio)) {
- dev_err(&pdev->dev, "Could net get reset GPIO\n");
+ dev_err(&pdev->dev, "Could not get reset GPIO\n");
return PTR_ERR(gpio_restart->reset_gpio);
}