OMAPFB: make debug message more useful
authorAndy Doan <andy.doan@linaro.org>
Wed, 6 Jul 2011 17:08:29 +0000 (12:08 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 14 Sep 2011 15:08:24 +0000 (18:08 +0300)
Make the debug message useful by printing the name of the device
that no associated driver could be found for.

Signed-off-by: Andy Doan <andy.doan@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c

index 602b71a92d3c3092db31f7b0fd349ce2e938b796..e5a64b38e52ab8a8bfb556dab6e018c01409133a 100644 (file)
@@ -2373,7 +2373,8 @@ static int omapfb_probe(struct platform_device *pdev)
                omap_dss_get_device(dssdev);
 
                if (!dssdev->driver) {
-                       dev_err(&pdev->dev, "no driver for display\n");
+                       dev_err(&pdev->dev, "no driver for display: %s\n",
+                               dssdev->name);
                        r = -ENODEV;
                }