mirror of https://gitee.com/openkylin/linux.git
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:
parent
13eae1f982
commit
c5f18d7bab
|
@ -2373,7 +2373,8 @@ static int omapfb_probe(struct platform_device *pdev)
|
||||||
omap_dss_get_device(dssdev);
|
omap_dss_get_device(dssdev);
|
||||||
|
|
||||||
if (!dssdev->driver) {
|
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;
|
r = -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue