OMAPDSS: don't print errors on -EPROBE_DEFER
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Dec 2013 14:15:34 +0000 (16:15 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 13 Jan 2014 10:19:55 +0000 (12:19 +0200)
commit40359a9b08cc51362a4dddfa2beb3b59e24e2b53
treeca4a78abd6d4dc6c012247e665f3c916d6c139a4
parentab7bf423af05542db94021cf9dbf1b0bf86226b1
OMAPDSS: don't print errors on -EPROBE_DEFER

Nowadays it's normal to get -EPROBE_DEFER from, e.g., regulator_get. As
-EPROBE_DEFER is not really an error, and the driver will be probed fine
a bit later, printing an error message will just confuse the user.

This patch changes omapdss to print an error for regulator_gets only if
the error code is something else than -EPROBE_DEFER.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/hdmi4.c
drivers/video/omap2/dss/sdi.c
drivers/video/omap2/dss/venc.c