提交 ba7b2d98 编写于 作者: A Archit Taneja 提交者: Tomi Valkeinen

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: NArchit Taneja <archit@ti.com>
上级 e1b94f1d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册