summaryrefslogtreecommitdiffstats
path: root/drivers/video/fb-puv3.c
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/fb-puv3.c
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/fb-puv3.c')
-rw-r--r--drivers/video/fb-puv3.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fb-puv3.c b/drivers/video/fb-puv3.c
index 27fc956166fa..6db9ebd042a3 100644
--- a/drivers/video/fb-puv3.c
+++ b/drivers/video/fb-puv3.c
@@ -713,9 +713,8 @@ static int unifb_probe(struct platform_device *dev)
platform_set_drvdata(dev, info);
platform_device_add_data(dev, unifb_regs, sizeof(u32) * UNIFB_REGS_NUM);
- printk(KERN_INFO
- "fb%d: Virtual frame buffer device, using %dM of video memory\n",
- info->node, UNIFB_MEMSIZE >> 20);
+ fb_info(info, "Virtual frame buffer device, using %dM of video memory\n",
+ UNIFB_MEMSIZE >> 20);
return 0;
err2:
fb_dealloc_cmap(&info->cmap);