summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-09 14:14:07 +0200
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-26 11:34:24 +0200
commit606847540079bd3e710f132724145c5785396dcb (patch)
treeca902c4a9f0cacfe9d4ea8ba943433d58c50e4b7 /drivers/video/omap2/displays
parent53055aae2048214cbec1f5f7f8846f9dff12b2bc (diff)
downloadblackbird-op-linux-606847540079bd3e710f132724145c5785396dcb.tar.gz
blackbird-op-linux-606847540079bd3e710f132724145c5785396dcb.zip
OMAP: DSS2: TPO-TD03MTEA1: fix function names
Copy/paste had resulted in wrong function names in TPO TD043MTEA1 panel driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r--drivers/video/omap2/displays/panel-tpo-td043mtea1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
index c6e4a7e9f532..d578feee3550 100644
--- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
+++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
@@ -262,7 +262,7 @@ static const struct omap_video_timings tpo_td043_timings = {
.vbp = 34,
};
-static int generic_panel_power_on(struct omap_dss_device *dssdev)
+static int tpo_td043_power_on(struct omap_dss_device *dssdev)
{
struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev);
int nreset_gpio = dssdev->reset_gpio;
@@ -302,7 +302,7 @@ err0:
return r;
}
-static void generic_panel_power_off(struct omap_dss_device *dssdev)
+static void tpo_td043_power_off(struct omap_dss_device *dssdev)
{
struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev);
int nreset_gpio = dssdev->reset_gpio;
@@ -332,7 +332,7 @@ static int tpo_td043_enable(struct omap_dss_device *dssdev)
dev_dbg(&dssdev->dev, "enable\n");
- ret = generic_panel_power_on(dssdev);
+ ret = tpo_td043_power_on(dssdev);
if (ret)
return ret;
@@ -345,14 +345,14 @@ static void tpo_td043_disable(struct omap_dss_device *dssdev)
{
dev_dbg(&dssdev->dev, "disable\n");
- generic_panel_power_off(dssdev);
+ tpo_td043_power_off(dssdev);
dssdev->state = OMAP_DSS_DISPLAY_DISABLED;
}
static int tpo_td043_suspend(struct omap_dss_device *dssdev)
{
- generic_panel_power_off(dssdev);
+ tpo_td043_power_off(dssdev);
dssdev->state = OMAP_DSS_DISPLAY_SUSPENDED;
return 0;
}
@@ -361,7 +361,7 @@ static int tpo_td043_resume(struct omap_dss_device *dssdev)
{
int r = 0;
- r = generic_panel_power_on(dssdev);
+ r = tpo_td043_power_on(dssdev);
if (r)
return r;
OpenPOWER on IntegriCloud