diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-09 07:14:07 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-26 04:34:24 -0500 |
commit | 606847540079bd3e710f132724145c5785396dcb (patch) | |
tree | ca902c4a9f0cacfe9d4ea8ba943433d58c50e4b7 | |
parent | 53055aae2048214cbec1f5f7f8846f9dff12b2bc (diff) |
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>
-rw-r--r-- | drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 12 |
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 = { | |||
262 | .vbp = 34, | 262 | .vbp = 34, |
263 | }; | 263 | }; |
264 | 264 | ||
265 | static int generic_panel_power_on(struct omap_dss_device *dssdev) | 265 | static int tpo_td043_power_on(struct omap_dss_device *dssdev) |
266 | { | 266 | { |
267 | struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev); | 267 | struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev); |
268 | int nreset_gpio = dssdev->reset_gpio; | 268 | int nreset_gpio = dssdev->reset_gpio; |
@@ -302,7 +302,7 @@ err0: | |||
302 | return r; | 302 | return r; |
303 | } | 303 | } |
304 | 304 | ||
305 | static void generic_panel_power_off(struct omap_dss_device *dssdev) | 305 | static void tpo_td043_power_off(struct omap_dss_device *dssdev) |
306 | { | 306 | { |
307 | struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev); | 307 | struct tpo_td043_device *tpo_td043 = dev_get_drvdata(&dssdev->dev); |
308 | int nreset_gpio = dssdev->reset_gpio; | 308 | int nreset_gpio = dssdev->reset_gpio; |
@@ -332,7 +332,7 @@ static int tpo_td043_enable(struct omap_dss_device *dssdev) | |||
332 | 332 | ||
333 | dev_dbg(&dssdev->dev, "enable\n"); | 333 | dev_dbg(&dssdev->dev, "enable\n"); |
334 | 334 | ||
335 | ret = generic_panel_power_on(dssdev); | 335 | ret = tpo_td043_power_on(dssdev); |
336 | if (ret) | 336 | if (ret) |
337 | return ret; | 337 | return ret; |
338 | 338 | ||
@@ -345,14 +345,14 @@ static void tpo_td043_disable(struct omap_dss_device *dssdev) | |||
345 | { | 345 | { |
346 | dev_dbg(&dssdev->dev, "disable\n"); | 346 | dev_dbg(&dssdev->dev, "disable\n"); |
347 | 347 | ||
348 | generic_panel_power_off(dssdev); | 348 | tpo_td043_power_off(dssdev); |
349 | 349 | ||
350 | dssdev->state = OMAP_DSS_DISPLAY_DISABLED; | 350 | dssdev->state = OMAP_DSS_DISPLAY_DISABLED; |
351 | } | 351 | } |
352 | 352 | ||
353 | static int tpo_td043_suspend(struct omap_dss_device *dssdev) | 353 | static int tpo_td043_suspend(struct omap_dss_device *dssdev) |
354 | { | 354 | { |
355 | generic_panel_power_off(dssdev); | 355 | tpo_td043_power_off(dssdev); |
356 | dssdev->state = OMAP_DSS_DISPLAY_SUSPENDED; | 356 | dssdev->state = OMAP_DSS_DISPLAY_SUSPENDED; |
357 | return 0; | 357 | return 0; |
358 | } | 358 | } |
@@ -361,7 +361,7 @@ static int tpo_td043_resume(struct omap_dss_device *dssdev) | |||
361 | { | 361 | { |
362 | int r = 0; | 362 | int r = 0; |
363 | 363 | ||
364 | r = generic_panel_power_on(dssdev); | 364 | r = tpo_td043_power_on(dssdev); |
365 | if (r) | 365 | if (r) |
366 | return r; | 366 | return r; |
367 | 367 | ||