diff options
author | Rob Herring <robh@kernel.org> | 2018-10-08 13:57:36 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-10-08 13:57:36 +0300 |
commit | 5c63e407aaabb0464236cfc6279a2d79aede7073 (patch) | |
tree | 395cbfc9afc9f64e6f4943d4256335869631ec1b /drivers/video/fbdev/core/fbmon.c | |
parent | 60e5e48dba72c6b59a7a9c7686ba320766913368 (diff) | |
download | linux-5c63e407aaabb0464236cfc6279a2d79aede7073.tar.xz |
fbdev: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/core/fbmon.c')
-rw-r--r-- | drivers/video/fbdev/core/fbmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c index 852d86c1c527..dd3128990776 100644 --- a/drivers/video/fbdev/core/fbmon.c +++ b/drivers/video/fbdev/core/fbmon.c @@ -1480,8 +1480,8 @@ int of_get_fb_videomode(struct device_node *np, struct fb_videomode *fb, if (ret) return ret; - pr_debug("%pOF: got %dx%d display mode from %s\n", - np, vm.hactive, vm.vactive, np->name); + pr_debug("%pOF: got %dx%d display mode\n", + np, vm.hactive, vm.vactive); dump_fb_videomode(fb); return 0; |