mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
pwm-backlight: Refactor backlight power on/off
In preparation for adding an optional regulator and enable GPIO to the driver, split the power on and power off sequences into separate functions to reduce code duplication at the multiple call sites. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
668e63c670
commit
62b744a87c
1 changed files with 31 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue