summaryrefslogtreecommitdiffstats
path: root/drivers/video/broadsheetfb.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-19 18:35:55 -0700
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-29 12:53:07 +0200
commit31b6780c15a4e3a90fe260e977f5186772ce7afb (patch)
tree9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/broadsheetfb.c
parentf51a07d05c5142e73f781d878f411d63d3548a49 (diff)
downloadop-kernel-dev-31b6780c15a4e3a90fe260e977f5186772ce7afb.zip
op-kernel-dev-31b6780c15a4e3a90fe260e977f5186772ce7afb.tar.gz
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/broadsheetfb.c')
-rw-r--r--drivers/video/broadsheetfb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/broadsheetfb.c b/drivers/video/broadsheetfb.c
index 393d5a0..8556264 100644
--- a/drivers/video/broadsheetfb.c
+++ b/drivers/video/broadsheetfb.c
@@ -1167,9 +1167,8 @@ static int broadsheetfb_probe(struct platform_device *dev)
if (retval < 0)
goto err_unreg_fb;
- printk(KERN_INFO
- "fb%d: Broadsheet frame buffer, using %dK of video memory\n",
- info->node, videomemorysize >> 10);
+ fb_info(info, "Broadsheet frame buffer, using %dK of video memory\n",
+ videomemorysize >> 10);
return 0;
OpenPOWER on IntegriCloud