aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/vesafb.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-19 21:35:55 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-29 06:53:07 -0400
commit31b6780c15a4e3a90fe260e977f5186772ce7afb (patch)
tree9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/vesafb.c
parentf51a07d05c5142e73f781d878f411d63d3548a49 (diff)
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/vesafb.c')
-rw-r--r--drivers/video/vesafb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index bd83233ec227..1c7da3b098d6 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -489,8 +489,7 @@ static int vesafb_probe(struct platform_device *dev)
489 fb_dealloc_cmap(&info->cmap); 489 fb_dealloc_cmap(&info->cmap);
490 goto err; 490 goto err;
491 } 491 }
492 printk(KERN_INFO "fb%d: %s frame buffer device\n", 492 fb_info(info, "%s frame buffer device\n", info->fix.id);
493 info->node, info->fix.id);
494 return 0; 493 return 0;
495err: 494err:
496 if (info->screen_base) 495 if (info->screen_base)