Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}