summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/display.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-08 14:11:29 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-07 17:05:58 +0200
commit09e82ba7011d6e94bf1eeb3f1cd0b7d441263132 (patch)
tree99b64e287830f6ccb9b68ec1bbe6efe953bed94f /drivers/video/omap2/dss/display.c
parent8b09551338dbe1882d3d52dcc5d34ef933adbccf (diff)
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/display.c')
-rw-r--r--drivers/video/omap2/dss/display.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c
index 05f21b6231b..0aa8ad8f966 100644
--- a/drivers/video/omap2/dss/display.c
+++ b/drivers/video/omap2/dss/display.c
@@ -76,26 +76,6 @@ void omapdss_default_get_timings(struct omap_dss_device *dssdev,
}
EXPORT_SYMBOL(omapdss_default_get_timings);
-int dss_init_device(struct platform_device *pdev,
- struct omap_dss_device *dssdev)
-{
- int r;
-
- r = display_init_sysfs(pdev, dssdev);
- if (r) {
- omapdss_output_unset_device(dssdev->output);
- return r;
- }
-
- return 0;
-}
-
-void dss_uninit_device(struct platform_device *pdev,
- struct omap_dss_device *dssdev)
-{
- display_uninit_sysfs(pdev, dssdev);
-}
-
static int dss_suspend_device(struct device *dev, void *data)
{
struct omap_dss_device *dssdev = to_dss_device(dev);