Commit 0e063317 authored by Michal Simek's avatar Michal Simek Committed by Sebastian Reichel

power: reset: gpio-restart: Fix typo when gpio reset is not found

Trivial patch which just corrects error message.

Fixes: 371bb20d ("power: Add simple gpio-restart driver")
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 82880222
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment