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

Commit c61307a7 authored by Thierry Reding's avatar Thierry Reding Committed by Linus Walleij
Browse files

gpio: Fix debug message in of_get_named_gpio_flags()



This was probably missed in the conversion done in commit 3d0f7cf0
("gpio: Adjust of_xlate API to support multiple GPIO chips").

Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d9875690
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ int of_get_named_gpio_flags(struct device_node *np, const char *propname,
	gpiochip_find(&gg_data, of_gpiochip_find_and_xlate);

	of_node_put(gg_data.gpiospec.np);
	pr_debug("%s exited with status %d\n", __func__, ret);
	pr_debug("%s exited with status %d\n", __func__, gg_data.out_gpio);
	return gg_data.out_gpio;
}
EXPORT_SYMBOL(of_get_named_gpio_flags);