From 9e8899d2a5f4318f50d1a32af6309cf254b656bd Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 3 Jul 2023 12:39:17 +0200 Subject: treewide: Print device nodes with %pOF We have the %pOF format specifier for printing device nodes. Use it where appropriate. Signed-off-by: Sascha Hauer --- drivers/of/of_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/of/of_gpio.c') diff --git a/drivers/of/of_gpio.c b/drivers/of/of_gpio.c index 7a6435e229..25496a3cf1 100644 --- a/drivers/of/of_gpio.c +++ b/drivers/of/of_gpio.c @@ -30,8 +30,8 @@ static void of_gpio_flags_quirks(struct device_node *np, * be actively ignored. */ if ((*flags & OF_GPIO_ACTIVE_LOW) && !active_low) { - pr_warn("%s GPIO handle specifies active low - ignored\n", - np->full_name); + pr_warn("%pOF GPIO handle specifies active low - ignored\n", + np); *flags &= ~OF_GPIO_ACTIVE_LOW; } if (active_low) -- cgit v1.2.3