summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-20 03:35:55 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-29 11:53:07 +0100
commit31b6780c15a4e3a90fe260e977f5186772ce7afb (patch)
tree9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/aty
parentframebuffer: Add fb_<level> convenience logging macros (diff)
downloadlinux-31b6780c15a4e3a90fe260e977f5186772ce7afb.tar.xz
linux-31b6780c15a4e3a90fe260e977f5186772ce7afb.zip
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/aty')
-rw-r--r--drivers/video/aty/aty128fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c
index b5edb6f08b84..12ca031877d4 100644
--- a/drivers/video/aty/aty128fb.c
+++ b/drivers/video/aty/aty128fb.c
@@ -2027,8 +2027,8 @@ static int aty128_init(struct pci_dev *pdev, const struct pci_device_id *ent)
if (register_framebuffer(info) < 0)
return 0;
- printk(KERN_INFO "fb%d: %s frame buffer device on %s\n",
- info->node, info->fix.id, video_card);
+ fb_info(info, "%s frame buffer device on %s\n",
+ info->fix.id, video_card);
return 1; /* success! */
}