]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: SAMSUNG: remove GPIO flags in dev-backlight
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 27 Feb 2014 05:53:33 +0000 (14:53 +0900)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 7 May 2014 08:15:20 +0000 (10:15 +0200)
commit6f1bb4e81ef44f5813551b9a3cf5bcd150515298
tree3242af19bd58e9b05bbac06c44399d27bdcd8985
parenteb1f97c23f5440594c735ff4e93540e90696e098
ARM: SAMSUNG: remove GPIO flags in dev-backlight

The pwm-backlight driver is moving to use the gpiod interface,
which has its own mapping mechanism for platform data GPIOs.
These mappings carry GPIO properties like active low so they don't have
to be explicitly handled by GPIO consumers.

Because of this change, the enable_gpio_flags member of
platform_pwm_backlight_data is going away. dev-backlight was passing
this member, but had no user making use of it, so it can safely be
removed. Further GPIOs used by pwm-backlight are expected to be
defined using the mechanisms provided by the gpiod API.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
arch/arm/plat-samsung/dev-backlight.c