diff options
author | Joe Perches <joe@perches.com> | 2013-09-19 21:35:55 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-10-29 06:53:07 -0400 |
commit | 31b6780c15a4e3a90fe260e977f5186772ce7afb (patch) | |
tree | 9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/68328fb.c | |
parent | f51a07d05c5142e73f781d878f411d63d3548a49 (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/68328fb.c')
-rw-r--r-- | drivers/video/68328fb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/68328fb.c b/drivers/video/68328fb.c index fa44fbed397d..552258c8f99d 100644 --- a/drivers/video/68328fb.c +++ b/drivers/video/68328fb.c | |||
@@ -478,11 +478,10 @@ int __init mc68x328fb_init(void) | |||
478 | return -EINVAL; | 478 | return -EINVAL; |
479 | } | 479 | } |
480 | 480 | ||
481 | printk(KERN_INFO | 481 | fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); |
482 | "fb%d: %s frame buffer device\n", fb_info.node, fb_info.fix.id); | 482 | fb_info(&fb_info, "%dx%dx%d at 0x%08lx\n", |
483 | printk(KERN_INFO | 483 | mc68x328fb_default.xres_virtual, |
484 | "fb%d: %dx%dx%d at 0x%08lx\n", fb_info.node, | 484 | mc68x328fb_default.yres_virtual, |
485 | mc68x328fb_default.xres_virtual, mc68x328fb_default.yres_virtual, | ||
486 | 1 << mc68x328fb_default.bits_per_pixel, videomemory); | 485 | 1 << mc68x328fb_default.bits_per_pixel, videomemory); |
487 | 486 | ||
488 | return 0; | 487 | return 0; |