Skip to content

Commit

Permalink
OMAPFB: make debug message more useful
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Doan authored and Tomi Valkeinen committed Sep 14, 2011
1 parent 13eae1f commit c5f18d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c5f18d7

Please sign in to comment.