summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-12 16:55:28 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-27 12:27:01 +0200
commite870f212324b451ff17a1c78739d3ab54ea092cf (patch)
tree852decea3ec4a85bf0297464d5fa73c305df271b /drivers
parent1de8e129f5e77e5eac6dc0a30df403404ddcd2b3 (diff)
downloadlinux-3.10-e870f212324b451ff17a1c78739d3ab54ea092cf.tar.gz
linux-3.10-e870f212324b451ff17a1c78739d3ab54ea092cf.tar.bz2
linux-3.10-e870f212324b451ff17a1c78739d3ab54ea092cf.zip
OMAPDSS: don't WARN if there's no DSI device
dsi_get_dsidev_from_id() gives a WARN if DSI support is not compiled in. This warning is not right, as it's valid to call dsi_get_dsidev_from_id() to see if there is DSI support or not. Remove the WARN(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/omap2/dss/dss.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index 8adf8be9323..09d0651469a 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -382,8 +382,6 @@ static inline void dsi_wait_pll_hsdiv_dsi_active(struct platform_device *dsidev)
}
static inline struct platform_device *dsi_get_dsidev_from_id(int module)
{
- WARN("%s: DSI not compiled in, returning platform device as NULL\n",
- __func__);
return NULL;
}
#endif