diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-07-03 22:06:28 +0200 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-07-03 22:06:28 +0200 |
commit | 5062750bb370bafb110978dd68741818b1dd6037 (patch) | |
tree | 6ec9daa484162fd1a91ccfab55b60f7aa0a5c5ed | |
parent | 2ad511bd4f9836cec6638e2980d5cab175c7f403 (diff) | |
download | kernel_samsung_espresso10-5062750bb370bafb110978dd68741818b1dd6037.zip kernel_samsung_espresso10-5062750bb370bafb110978dd68741818b1dd6037.tar.gz kernel_samsung_espresso10-5062750bb370bafb110978dd68741818b1dd6037.tar.bz2 |
OMAPDSS: panel-ltn: remove set_gptimer_idle()
Since we aren't using FB_OMAP_BOOTLOADER_INIT, the gptimer is idle at bootup.
Change-Id: I0ddef1b92ea6e848babfbec67d19cfd6db43b0a1
-rw-r--r-- | drivers/video/omap2/displays/panel-ltn.c | 3 | ||||
-rw-r--r-- | include/linux/platform_data/panel-ltn.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/omap2/displays/panel-ltn.c b/drivers/video/omap2/displays/panel-ltn.c index 91615b2..5794aa7 100644 --- a/drivers/video/omap2/displays/panel-ltn.c +++ b/drivers/video/omap2/displays/panel-ltn.c @@ -102,9 +102,6 @@ static int backlight_gptimer_init(struct omap_dss_device *dssdev) dev_dbg(&dssdev->dev, "%s\n", __func__); - if (lcd->pdata->set_gptimer_idle) - lcd->pdata->set_gptimer_idle(); - lcd->gptimer = omap_dm_timer_request_specific(lcd->pdata->backlight_gptimer_num); diff --git a/include/linux/platform_data/panel-ltn.h b/include/linux/platform_data/panel-ltn.h index c6323d0..37b8dd6 100644 --- a/include/linux/platform_data/panel-ltn.h +++ b/include/linux/platform_data/panel-ltn.h @@ -30,7 +30,6 @@ struct ltn_panel_data { int led_backlight_reset_gpio; int backlight_gptimer_num; void (*set_power) (bool enable); - void (*set_gptimer_idle) (void); struct brightness_data brightness_table; int pwm_duty_max; }; |