diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-07-03 12:39:17 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-07-03 15:22:18 +0200 |
commit | 9e8899d2a5f4318f50d1a32af6309cf254b656bd (patch) | |
tree | b9773bedd37c8b3436095945e75a61afd763c965 /drivers/of/of_gpio.c | |
parent | a3cd8b2cca3d5cd770ebb9a28411fcfa54837415 (diff) | |
download | barebox-9e8899d2a5f4318f50d1a32af6309cf254b656bd.tar.gz barebox-9e8899d2a5f4318f50d1a32af6309cf254b656bd.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of/of_gpio.c')
-rw-r--r-- | drivers/of/of_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |