diff options
Diffstat (limited to 'drivers/video/omap2/displays/panel-picodlp.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-picodlp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/video/omap2/displays/panel-picodlp.c b/drivers/video/omap2/displays/panel-picodlp.c index bc8ac77f8827..62f2db04fbc8 100644 --- a/drivers/video/omap2/displays/panel-picodlp.c +++ b/drivers/video/omap2/displays/panel-picodlp.c | |||
@@ -354,12 +354,6 @@ static int picodlp_panel_power_on(struct omap_dss_device *dssdev) | |||
354 | struct picodlp_data *picod = dev_get_drvdata(&dssdev->dev); | 354 | struct picodlp_data *picod = dev_get_drvdata(&dssdev->dev); |
355 | struct picodlp_panel_data *picodlp_pdata = get_panel_data(dssdev); | 355 | struct picodlp_panel_data *picodlp_pdata = get_panel_data(dssdev); |
356 | 356 | ||
357 | if (dssdev->platform_enable) { | ||
358 | r = dssdev->platform_enable(dssdev); | ||
359 | if (r) | ||
360 | return r; | ||
361 | } | ||
362 | |||
363 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 0); | 357 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 0); |
364 | msleep(1); | 358 | msleep(1); |
365 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 1); | 359 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 1); |
@@ -398,9 +392,6 @@ static int picodlp_panel_power_on(struct omap_dss_device *dssdev) | |||
398 | err: | 392 | err: |
399 | omapdss_dpi_display_disable(dssdev); | 393 | omapdss_dpi_display_disable(dssdev); |
400 | err1: | 394 | err1: |
401 | if (dssdev->platform_disable) | ||
402 | dssdev->platform_disable(dssdev); | ||
403 | |||
404 | return r; | 395 | return r; |
405 | } | 396 | } |
406 | 397 | ||
@@ -412,9 +403,6 @@ static void picodlp_panel_power_off(struct omap_dss_device *dssdev) | |||
412 | 403 | ||
413 | gpio_set_value(picodlp_pdata->emu_done_gpio, 0); | 404 | gpio_set_value(picodlp_pdata->emu_done_gpio, 0); |
414 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 0); | 405 | gpio_set_value(picodlp_pdata->pwrgood_gpio, 0); |
415 | |||
416 | if (dssdev->platform_disable) | ||
417 | dssdev->platform_disable(dssdev); | ||
418 | } | 406 | } |
419 | 407 | ||
420 | static int picodlp_panel_probe(struct omap_dss_device *dssdev) | 408 | static int picodlp_panel_probe(struct omap_dss_device *dssdev) |