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/kyro | |
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/kyro')
-rw-r--r-- | drivers/video/kyro/fbdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c index 79bfb5c38409..50c857477e4f 100644 --- a/drivers/video/kyro/fbdev.c +++ b/drivers/video/kyro/fbdev.c | |||
@@ -735,10 +735,10 @@ static int kyrofb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
735 | if (register_framebuffer(info) < 0) | 735 | if (register_framebuffer(info) < 0) |
736 | goto out_unmap; | 736 | goto out_unmap; |
737 | 737 | ||
738 | printk("fb%d: %s frame buffer device, at %dx%d@%d using %ldk/%ldk of VRAM\n", | 738 | fb_info(info, "%s frame buffer device, at %dx%d@%d using %ldk/%ldk of VRAM\n", |
739 | info->node, info->fix.id, info->var.xres, | 739 | info->fix.id, |
740 | info->var.yres, info->var.bits_per_pixel, size >> 10, | 740 | info->var.xres, info->var.yres, info->var.bits_per_pixel, |
741 | (unsigned long)info->fix.smem_len >> 10); | 741 | size >> 10, (unsigned long)info->fix.smem_len >> 10); |
742 | 742 | ||
743 | pci_set_drvdata(pdev, info); | 743 | pci_set_drvdata(pdev, info); |
744 | 744 | ||