summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/cg3.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-08-07 18:22:13 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-08-07 18:22:13 +0300
commit6d7e653300e30fd433a845c8c9f48557e799a8de (patch)
treefbf7e2d23f52703d88e49b0f4076ae51bc32b22d /drivers/video/fbdev/cg3.c
parent376b3ff54c9a1cd54d71b1102e061fccf56d535e (diff)
downloadlinux-6d7e653300e30fd433a845c8c9f48557e799a8de.tar.xz
video: fbdev: 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 <robh@kernel.org> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/cg3.c')
-rw-r--r--drivers/video/fbdev/cg3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/cg3.c b/drivers/video/fbdev/cg3.c
index 716391f22e75..6c334260cf53 100644
--- a/drivers/video/fbdev/cg3.c
+++ b/drivers/video/fbdev/cg3.c
@@ -412,8 +412,8 @@ static int cg3_probe(struct platform_device *op)
dev_set_drvdata(&op->dev, info);
- printk(KERN_INFO "%s: cg3 at %lx:%lx\n",
- dp->full_name, par->which_io, info->fix.smem_start);
+ printk(KERN_INFO "%pOF: cg3 at %lx:%lx\n",
+ dp, par->which_io, info->fix.smem_start);
return 0;