-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backlight: pwm_bl: Move the checks for initial power state to a separ…
…ate 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 <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Signed-off-by: Lee Jones <[email protected]>
- Loading branch information
Peter Ujfalusi
authored and
Lee Jones
committed
Jan 4, 2017
1 parent
0eb3fba
commit 7613c92
Showing
1 changed file
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters