summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2013-02-12 16:16:10 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-03 15:19:46 +0300
commitba7b2d987dea0847782e8ad9a7bcc9429896d7ac (patch)
tree03bfdb904a8703f5a2bef7a71a9089821d434d50 /drivers/video/omap2/displays
parente1b94f1df772331026c9b6dd44a5e154e947b44b (diff)
downloadop-kernel-dev-ba7b2d987dea0847782e8ad9a7bcc9429896d7ac.zip
op-kernel-dev-ba7b2d987dea0847782e8ad9a7bcc9429896d7ac.tar.gz
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 <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r--drivers/video/omap2/displays/panel-acx565akm.c5
1 files changed, 1 insertions, 4 deletions
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);
OpenPOWER on IntegriCloud