Commit c5f18d7b authored by Andy Doan's avatar Andy Doan Committed by Tomi Valkeinen
Browse files

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: default avatarAndy Doan <andy.doan@linaro.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 13eae1f9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
		}