aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/igafb.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/igafb.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/igafb.c')
-rw-r--r--drivers/video/igafb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c
index 79cbfa7d1a9b..486f18897414 100644
--- a/drivers/video/igafb.c
+++ b/drivers/video/igafb.c
@@ -360,9 +360,8 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)
360 if (register_framebuffer(info) < 0) 360 if (register_framebuffer(info) < 0)
361 return 0; 361 return 0;
362 362
363 printk("fb%d: %s frame buffer device at 0x%08lx [%dMB VRAM]\n", 363 fb_info(info, "%s frame buffer device at 0x%08lx [%dMB VRAM]\n",
364 info->node, info->fix.id, 364 info->fix.id, par->frame_buffer_phys, info->fix.smem_len >> 20);
365 par->frame_buffer_phys, info->fix.smem_len >> 20);
366 365
367 iga_blank_border(par); 366 iga_blank_border(par);
368 return 1; 367 return 1;