summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/4xx/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/4xx/gpio.c')
-rw-r--r--arch/powerpc/platforms/4xx/gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/4xx/gpio.c b/arch/powerpc/platforms/4xx/gpio.c
index 5382d04dd872..2238e369cde4 100644
--- a/arch/powerpc/platforms/4xx/gpio.c
+++ b/arch/powerpc/platforms/4xx/gpio.c
@@ -198,8 +198,7 @@ static int __init ppc4xx_add_gpiochips(void)
goto err;
continue;
err:
- pr_err("%s: registration failed with status %d\n",
- np->full_name, ret);
+ pr_err("%pOF: registration failed with status %d\n", np, ret);
kfree(ppc4xx_gc);
/* try others anyway */
}