]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
power: reset: gpio-restart: Fix typo when gpio reset is not found
authorMichal Simek <michal.simek@xilinx.com>
Mon, 2 Sep 2019 13:00:40 +0000 (15:00 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 2 Sep 2019 18:32:23 +0000 (20:32 +0200)
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>
drivers/power/reset/gpio-restart.c

index 2880cd5ae0d2932f4599e41fddbd9cf862bd7a37..308ca9d9d276b5e898ab958930c1e20f0a74c106 100644 (file)
@@ -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);
        }