summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/adp8860_bl.c
diff options
context:
space:
mode:
authorPeter Ujfalusi2016-11-22 14:41:22 +0100
committerLee Jones2017-01-04 12:37:38 +0100
commit7613c922315e308a6486d802abed2eb74443dffd (patch)
treebbee1fba762af8ce5a7e4a1de8f9cd5fcf8e0e6f /drivers/video/backlight/adp8860_bl.c
parentbacklight: adp5520: Fix error handling in adp5520_bl_probe() (diff)
downloadkernel-qcow2-linux-7613c922315e308a6486d802abed2eb74443dffd.tar.gz
kernel-qcow2-linux-7613c922315e308a6486d802abed2eb74443dffd.tar.xz
kernel-qcow2-linux-7613c922315e308a6486d802abed2eb74443dffd.zip
backlight: pwm_bl: Move the checks for initial power state to a separate function
Move the checks to select the initial state for the backlight to a new function and document the checks we are doing. With the separate function it is going to be easier to fix or improve the initial power state configuration later and it is easier to read the code. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/adp8860_bl.c')
0 files changed, 0 insertions, 0 deletions