提交 60684754 编写于 作者: T Tomi Valkeinen

OMAP: DSS2: TPO-TD03MTEA1: fix function names

Copy/paste had resulted in wrong function names in TPO TD043MTEA1 panel
driver.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
上级 53055aae
...@@ -262,7 +262,7 @@ static const struct omap_video_timings tpo_td043_timings = { ...@@ -262,7 +262,7 @@ static const struct omap_video_timings tpo_td043_timings = {
.vbp = 34, .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); struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev);
int nreset_gpio = dssdev->reset_gpio; int nreset_gpio = dssdev->reset_gpio;
...@@ -302,7 +302,7 @@ static int generic_panel_power_on(struct omap_dss_device *dssdev) ...@@ -302,7 +302,7 @@ static int generic_panel_power_on(struct omap_dss_device *dssdev)
return r; 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); struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev);
int nreset_gpio = dssdev->reset_gpio; int nreset_gpio = dssdev->reset_gpio;
...@@ -332,7 +332,7 @@ static int tpo_td043_enable(struct omap_dss_device *dssdev) ...@@ -332,7 +332,7 @@ static int tpo_td043_enable(struct omap_dss_device *dssdev)
dev_dbg(&dssdev->dev, "enable\n"); dev_dbg(&dssdev->dev, "enable\n");
ret = generic_panel_power_on(dssdev); ret = tpo_td043_power_on(dssdev);
if (ret) if (ret)
return ret; return ret;
...@@ -345,14 +345,14 @@ static void tpo_td043_disable(struct omap_dss_device *dssdev) ...@@ -345,14 +345,14 @@ static void tpo_td043_disable(struct omap_dss_device *dssdev)
{ {
dev_dbg(&dssdev->dev, "disable\n"); dev_dbg(&dssdev->dev, "disable\n");
generic_panel_power_off(dssdev); tpo_td043_power_off(dssdev);
dssdev->state = OMAP_DSS_DISPLAY_DISABLED; dssdev->state = OMAP_DSS_DISPLAY_DISABLED;
} }
static int tpo_td043_suspend(struct omap_dss_device *dssdev) 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; dssdev->state = OMAP_DSS_DISPLAY_SUSPENDED;
return 0; return 0;
} }
...@@ -361,7 +361,7 @@ static int tpo_td043_resume(struct omap_dss_device *dssdev) ...@@ -361,7 +361,7 @@ static int tpo_td043_resume(struct omap_dss_device *dssdev)
{ {
int r = 0; int r = 0;
r = generic_panel_power_on(dssdev); r = tpo_td043_power_on(dssdev);
if (r) if (r)
return r; return r;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册