aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/w100fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/w100fb.c')
-rw-r--r--drivers/video/w100fb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index 2a0437a6d838..10951c82f6ed 100644
--- a/drivers/video/w100fb.c
+++ b/drivers/video/w100fb.c
@@ -761,10 +761,9 @@ int w100fb_probe(struct platform_device *pdev)
761 err |= device_create_file(&pdev->dev, &dev_attr_flip); 761 err |= device_create_file(&pdev->dev, &dev_attr_flip);
762 762
763 if (err != 0) 763 if (err != 0)
764 printk(KERN_WARNING "fb%d: failed to register attributes (%d)\n", 764 fb_warn(info, "failed to register attributes (%d)\n", err);
765 info->node, err);
766 765
767 printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id); 766 fb_info(info, "%s frame buffer device\n", info->fix.id);
768 return 0; 767 return 0;
769out: 768out:
770 if (info) { 769 if (info) {