diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-08 14:11:29 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-07 17:05:58 +0200 |
commit | 09e82ba7011d6e94bf1eeb3f1cd0b7d441263132 (patch) | |
tree | 99b64e287830f6ccb9b68ec1bbe6efe953bed94f /drivers/video/omap2/dss/core.c | |
parent | 8b09551338dbe1882d3d52dcc5d34ef933adbccf (diff) | |
download | op-kernel-dev-09e82ba7011d6e94bf1eeb3f1cd0b7d441263132.zip op-kernel-dev-09e82ba7011d6e94bf1eeb3f1cd0b7d441263132.tar.gz |
OMAPDSS: move display sysfs init to compat layer
Move creation of the sysfs files for displays to the compat layer.
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 1751c1f..50817fe 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -347,15 +347,10 @@ static int dss_driver_probe(struct device *dev) dev_name(dev), dssdev->driver_name, dssdrv->driver.name); - r = dss_init_device(core.pdev, dssdev); - if (r) - return r; - r = dssdrv->probe(dssdev); if (r) { DSSERR("driver probe failed: %d\n", r); - dss_uninit_device(core.pdev, dssdev); return r; } @@ -376,8 +371,6 @@ static int dss_driver_remove(struct device *dev) dssdrv->remove(dssdev); - dss_uninit_device(core.pdev, dssdev); - dssdev->driver = NULL; return 0; |