diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-07 15:48:45 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-18 16:15:04 +0300 |
commit | 5eeb55f8703d2af3181599c085b21ce023a0f942 (patch) | |
tree | d17774a6683e19ab1fa89048279946117b91a404 /drivers/video/omap2/dss/core.c | |
parent | 6b41785836f184df585e33cd6b940852fb9299ed (diff) | |
download | op-kernel-dev-5eeb55f8703d2af3181599c085b21ce023a0f942.zip op-kernel-dev-5eeb55f8703d2af3181599c085b21ce023a0f942.tar.gz |
OMAPDSS: cleanup dss_recheck_connections further
Cleanup dss_recheck_connections, move and rename it to a static
dss_init_connections function inside display.c. Improve the function to
return errors, and implement a matching dss_uninit_connections that can
be used to free the mgr->dssdev link.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/core.c')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 9315ece..c4fd768 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -352,7 +352,6 @@ static int dss_driver_probe(struct device *dev) int r; struct omap_dss_driver *dssdrv = to_dss_driver(dev->driver); struct omap_dss_device *dssdev = to_dss_device(dev); - bool force; DSSDBG("driver_probe: dev %s/%s, drv %s\n", dev_name(dev), dssdev->driver_name, @@ -362,10 +361,6 @@ static int dss_driver_probe(struct device *dev) if (r) return r; - force = core.default_display_name && - strcmp(core.default_display_name, dssdev->name) == 0; - dss_recheck_connections(dssdev, force); - r = dssdrv->probe(dssdev); if (r) { |