summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays/panel-taal.c
diff options
context:
space:
mode:
authorJani Nikula <ext-jani.1.nikula@nokia.com>2010-04-27 14:40:30 +0300
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-03 15:18:47 +0300
commit75392bfe3ecc8dc89acf2165a34f8aa039346fb4 (patch)
tree78f3e2823ae564cdbb2cd2ae8e7170c906264df1 /drivers/video/omap2/displays/panel-taal.c
parent6b316715b4b96da49fcac0fa07082692eebca8af (diff)
downloadlinux-stable-75392bfe3ecc8dc89acf2165a34f8aa039346fb4.tar.gz
linux-stable-75392bfe3ecc8dc89acf2165a34f8aa039346fb4.tar.bz2
linux-stable-75392bfe3ecc8dc89acf2165a34f8aa039346fb4.zip
OMAP: DSS2: Taal: Remove platform enable/disable
After the addition of proper hardware reset, taal_hw_reset(), there's no need for an additional platform enable/disable. Remove them. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/displays/panel-taal.c')
-rw-r--r--drivers/video/omap2/displays/panel-taal.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c
index 0eed3282a7a5..3421be3d85da 100644
--- a/drivers/video/omap2/displays/panel-taal.c
+++ b/drivers/video/omap2/displays/panel-taal.c
@@ -670,12 +670,6 @@ static int taal_power_on(struct omap_dss_device *dssdev)
u8 id1, id2, id3;
int r;
- if (dssdev->platform_enable) {
- r = dssdev->platform_enable(dssdev);
- if (r)
- return r;
- }
-
/* it seems we have to wait a bit until taal is ready */
msleep(5);
@@ -746,8 +740,6 @@ err:
omapdss_dsi_display_disable(dssdev);
err0:
dsi_bus_unlock();
- if (dssdev->platform_disable)
- dssdev->platform_disable(dssdev);
return r;
}
@@ -776,9 +768,6 @@ static void taal_power_off(struct omap_dss_device *dssdev)
omapdss_dsi_display_disable(dssdev);
- if (dssdev->platform_disable)
- dssdev->platform_disable(dssdev);
-
td->enabled = 0;
dsi_bus_unlock();