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/geode | |
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/geode')
-rw-r--r-- | drivers/video/geode/gx1fb_core.c | 2 | ||||
-rw-r--r-- | drivers/video/geode/gxfb_core.c | 2 | ||||
-rw-r--r-- | drivers/video/geode/lxfb_core.c | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/geode/gx1fb_core.c b/drivers/video/geode/gx1fb_core.c index 7551a04f5c31..2794ba11f332 100644 --- a/drivers/video/geode/gx1fb_core.c +++ b/drivers/video/geode/gx1fb_core.c | |||
@@ -357,7 +357,7 @@ static int gx1fb_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
357 | goto err; | 357 | goto err; |
358 | } | 358 | } |
359 | pci_set_drvdata(pdev, info); | 359 | pci_set_drvdata(pdev, info); |
360 | printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id); | 360 | fb_info(info, "%s frame buffer device\n", info->fix.id); |
361 | return 0; | 361 | return 0; |
362 | 362 | ||
363 | err: | 363 | err: |
diff --git a/drivers/video/geode/gxfb_core.c b/drivers/video/geode/gxfb_core.c index a42d74d6eded..1790f14bab15 100644 --- a/drivers/video/geode/gxfb_core.c +++ b/drivers/video/geode/gxfb_core.c | |||
@@ -423,7 +423,7 @@ static int gxfb_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
423 | goto err; | 423 | goto err; |
424 | } | 424 | } |
425 | pci_set_drvdata(pdev, info); | 425 | pci_set_drvdata(pdev, info); |
426 | printk(KERN_INFO "fb%d: %s frame buffer device\n", info->node, info->fix.id); | 426 | fb_info(info, "%s frame buffer device\n", info->fix.id); |
427 | return 0; | 427 | return 0; |
428 | 428 | ||
429 | err: | 429 | err: |
diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c index 10de31b21d0a..9e1d19d673a1 100644 --- a/drivers/video/geode/lxfb_core.c +++ b/drivers/video/geode/lxfb_core.c | |||
@@ -555,8 +555,7 @@ static int lxfb_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
555 | goto err; | 555 | goto err; |
556 | } | 556 | } |
557 | pci_set_drvdata(pdev, info); | 557 | pci_set_drvdata(pdev, info); |
558 | printk(KERN_INFO "fb%d: %s frame buffer device\n", | 558 | fb_info(info, "%s frame buffer device\n", info->fix.id); |
559 | info->node, info->fix.id); | ||
560 | 559 | ||
561 | return 0; | 560 | return 0; |
562 | 561 | ||