From: Archit Taneja Date: Tue, 12 Feb 2013 10:46:10 +0000 (+0530) Subject: OMAPDSS: panel acx565akm: remove omap_dss_device maximum backlight level usage X-Git-Tag: v3.10-rc2~14^2~22^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba7b2d987dea0847782e8ad9a7bcc9429896d7ac;p=profile%2Fcommon%2Fkernel-common.git OMAPDSS: panel acx565akm: remove omap_dss_device maximum backlight level usage The omap_dss_device structs's max_backlight_level is used to pass maximum backlight level for the platform. However, no board file using this panel populates this field. Therefore, we remove it's usage from the panel driver. Signed-off-by: Archit Taneja --- diff --git a/drivers/video/omap2/displays/panel-acx565akm.c b/drivers/video/omap2/displays/panel-acx565akm.c index a980a11..a8fb26b 100644 --- a/drivers/video/omap2/displays/panel-acx565akm.c +++ b/drivers/video/omap2/displays/panel-acx565akm.c @@ -555,10 +555,7 @@ static int acx_panel_probe(struct omap_dss_device *dssdev) md->cabc_mode = get_hw_cabc_mode(md); } - if (md->has_bc) - max_brightness = 255; - else - max_brightness = dssdev->max_backlight_level; + max_brightness = 255; if (md->has_bc) brightness = acx565akm_get_actual_brightness(md);