]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pwm-backlight: Use new enable_gpio field
authorThierry Reding <treding@nvidia.com>
Fri, 30 Aug 2013 10:32:18 +0000 (12:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 07:20:09 +0000 (09:20 +0200)
commit8265b2e4e62632b01f998095d1bbda4d281629fe
tree31f3f3d6714f58553feff2b670adf1bd5d393455
parent611c86c6de7a58c59b231804ffa19d1b70f6fd90
pwm-backlight: Use new enable_gpio field

Make use of the new enable_gpio field and allow it to be set from DT as
well. Now that all legacy users of platform data have been converted to
initialize this field to an invalid value, it is safe to use the field
from the driver.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt
drivers/video/backlight/pwm_bl.c