summaryrefslogtreecommitdiff
path: root/drivers/video/w100fb.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-20 01:35:55 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-29 10:53:07 (GMT)
commit31b6780c15a4e3a90fe260e977f5186772ce7afb (patch)
tree9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/w100fb.c
parentf51a07d05c5142e73f781d878f411d63d3548a49 (diff)
downloadlinux-fsl-qoriq-31b6780c15a4e3a90fe260e977f5186772ce7afb.tar.xz
framebuffer: Use fb_<level>
Neaten and shorten the code using the new fb_<level> macros. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/w100fb.c')
-rw-r--r--drivers/video/w100fb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index 2a0437a..10951c8 100644
--- a/drivers/video/w100fb.c
+++ b/drivers/video/w100fb.c
@@ -761,10 +761,9 @@ int w100fb_probe(struct platform_device *pdev)
err |= device_create_file(&pdev->dev, &dev_attr_flip);
if (err != 0)
- printk(KERN_WARNING "fb%d: failed to register attributes (%d)\n",
- info->node, err);
+ fb_warn(info, "failed to register attributes (%d)\n", err);
- printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id);
+ fb_info(info, "%s frame buffer device\n", info->fix.id);
return 0;
out:
if (info) {