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/hecubafb.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/hecubafb.c')
-rw-r--r-- | drivers/video/hecubafb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c index 702b599dc3d6..f64120ec9192 100644 --- a/drivers/video/hecubafb.c +++ b/drivers/video/hecubafb.c | |||
@@ -261,9 +261,8 @@ static int hecubafb_probe(struct platform_device *dev) | |||
261 | goto err_fbreg; | 261 | goto err_fbreg; |
262 | platform_set_drvdata(dev, info); | 262 | platform_set_drvdata(dev, info); |
263 | 263 | ||
264 | printk(KERN_INFO | 264 | fb_info(info, "Hecuba frame buffer device, using %dK of video memory\n", |
265 | "fb%d: Hecuba frame buffer device, using %dK of video memory\n", | 265 | videomemorysize >> 10); |
266 | info->node, videomemorysize >> 10); | ||
267 | 266 | ||
268 | /* this inits the dpy */ | 267 | /* this inits the dpy */ |
269 | retval = par->board->init(par); | 268 | retval = par->board->init(par); |