From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Taneja Date: Wed, 13 Feb 2013 14:19:06 +0000 Subject: [PATCH 03/11] OMAPDSS: ZOOM/NEC-nl8048hl11: remove platform backlight support Message-Id: <1360764434-18788-4-git-send-email-archit@ti.com> List-Id: References: <1360764434-18788-1-git-send-email-archit@ti.com> In-Reply-To: <1360764434-18788-1-git-send-email-archit@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: tomi.valkeinen@ti.com Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, Archit Taneja , Tony Lindgren omap_dss_device provides a callback function to set backlight. Panel backlight on Zoom board is implemented by the function zoom_set_bl_intensity() in the board file. This needs to be removed. The PWM backlight should be implemented with the pwm_bl driver. For now, function zoom_set_bl_intensity() is left as is, but omap_dss_device's set_backlight func pointer and max_brightness_level are removed. NEC-nl8048hl11 panel driver contains support to call platform backlight functions. These are not used any more in zoom and are now removed. Signed-off-by: Archit Taneja Cc: Tony Lindgren --- arch/arm/mach-omap2/board-zoom-display.c | 2 - .../omap2/displays/panel-nec-nl8048hl11-01b.c | 74 -------------------- 2 files changed, 76 deletions(-) diff --git a/arch/arm/mach-omap2/board-zoom-display.c b/arch/arm/mach-omap2/board-zoom-display.c index 1c7c834..4717ed5 100644 --- a/arch/arm/mach-omap2/board-zoom-display.c +++ b/arch/arm/mach-omap2/board-zoom-display.c @@ -109,8 +109,6 @@ static struct omap_dss_device zoom_lcd_device = { .phy.dpi.data_lines = 24, .platform_enable = zoom_panel_enable_lcd, .platform_disable = zoom_panel_disable_lcd, - .max_backlight_level = 100, - .set_backlight = zoom_set_bl_intensity, }; static struct omap_dss_device *zoom_dss_devices[] = { diff --git a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c index c4e9c2b..c197927 100644 --- a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c +++ b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include