summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-02-27 14:53:33 +0900
committerThierry Reding <thierry.reding@gmail.com>2014-05-07 10:15:20 +0200
commita4406f165faa222a0d2c5e660473bb6822850a55 (patch)
tree3242af19bd58e9b05bbac06c44399d27bdcd8985
parent5f33b896246a2d9bdf01352de11d4dab96ba2fc9 (diff)
downloadblackbird-op-linux-a4406f165faa222a0d2c5e660473bb6822850a55.tar.gz
blackbird-op-linux-a4406f165faa222a0d2c5e660473bb6822850a55.zip
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>
-rw-r--r--arch/arm/plat-samsung/dev-backlight.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/dev-backlight.c b/arch/arm/plat-samsung/dev-backlight.c
index be4ad0b21c08..2157c5b539e6 100644
--- a/arch/arm/plat-samsung/dev-backlight.c
+++ b/arch/arm/plat-samsung/dev-backlight.c
@@ -124,8 +124,6 @@ void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
samsung_bl_data->pwm_period_ns = bl_data->pwm_period_ns;
if (bl_data->enable_gpio >= 0)
samsung_bl_data->enable_gpio = bl_data->enable_gpio;
- if (bl_data->enable_gpio_flags)
- samsung_bl_data->enable_gpio_flags = bl_data->enable_gpio_flags;
if (bl_data->init)
samsung_bl_data->init = bl_data->init;
if (bl_data->notify)
OpenPOWER on IntegriCloud