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/uvesafb.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/uvesafb.c')
-rw-r--r-- | drivers/video/uvesafb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c index 676a4b9379d9..256fba7f4641 100644 --- a/drivers/video/uvesafb.c +++ b/drivers/video/uvesafb.c | |||
@@ -1770,13 +1770,11 @@ static int uvesafb_probe(struct platform_device *dev) | |||
1770 | "using %dk, total %dk\n", info->fix.smem_start, | 1770 | "using %dk, total %dk\n", info->fix.smem_start, |
1771 | info->screen_base, info->fix.smem_len/1024, | 1771 | info->screen_base, info->fix.smem_len/1024, |
1772 | par->vbe_ib.total_memory * 64); | 1772 | par->vbe_ib.total_memory * 64); |
1773 | printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, | 1773 | fb_info(info, "%s frame buffer device\n", info->fix.id); |
1774 | info->fix.id); | ||
1775 | 1774 | ||
1776 | err = sysfs_create_group(&dev->dev.kobj, &uvesafb_dev_attgrp); | 1775 | err = sysfs_create_group(&dev->dev.kobj, &uvesafb_dev_attgrp); |
1777 | if (err != 0) | 1776 | if (err != 0) |
1778 | printk(KERN_WARNING "fb%d: failed to register attributes\n", | 1777 | fb_warn(info, "failed to register attributes\n"); |
1779 | info->node); | ||
1780 | 1778 | ||
1781 | return 0; | 1779 | return 0; |
1782 | 1780 | ||