power: reset: gpio-restart: Fix typo when gpio reset is not found
Trivial patch which just corrects error message.
Fixes: 371bb20d69
("power: Add simple gpio-restart driver")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
8288022284
commit
0e063317d5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue