OMAPFB: make debug message more useful

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>
This commit is contained in:
Andy Doan 2011-07-06 12:08:29 -05:00 committed by Tomi Valkeinen
parent 13eae1f982
commit c5f18d7bab

View 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;
}