diff options
| author | Rob Herring <[email protected]> | 2017-07-18 21:43:03 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-08-14 13:01:12 +0000 |
| commit | 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 (patch) | |
| tree | 67d3b30f93b778d460e86300adcde655bdbdf311 /drivers/gpio/gpio-altera.c | |
| parent | gpio: davinci: Convert prinkt to dev_err (diff) | |
| download | kernel-7eb6ce2f272336ff8337f40fa8668fa04dc2d684.tar.gz kernel-7eb6ce2f272336ff8337f40fa8668fa04dc2d684.zip | |
gpio: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.
Signed-off-by: Rob Herring <[email protected]>
Cc: Tien Hock Loh <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: [email protected]
Cc: Michal Simek <[email protected]>
Cc: "Sören Brinkmann" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Gregory Fong <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
| -rw-r--r-- | drivers/gpio/gpio-altera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 17485dc20384..ccc02ed65b3c 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -324,8 +324,8 @@ skip_irq: return 0; teardown: of_mm_gpiochip_remove(&altera_gc->mmchip); - pr_err("%s: registration failed with status %d\n", - node->full_name, ret); + pr_err("%pOF: registration failed with status %d\n", + node, ret); return ret; } |
