From: Alexandre Courbot <acourbot@nvidia.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Jingoo Han <jg1.han@samsung.com>, Bryan Wu <cooloney@gmail.com>,
Ben Dooks <ben-linux@fluff.org>,
Kukjin Kim <kgene.kim@samsung.com>
Cc: <linux-pwm@vger.kernel.org>, <linux-gpio@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
Alexandre Courbot <acourbot@nvidia.com>
Subject: [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight
Date: Thu, 27 Feb 2014 14:53:33 +0900 [thread overview]
Message-ID: <1393480414-19473-2-git-send-email-acourbot@nvidia.com> (raw)
In-Reply-To: <1393480414-19473-1-git-send-email-acourbot@nvidia.com>
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>
---
arch/arm/plat-samsung/dev-backlight.c | 2 --
1 file changed, 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)
--
1.9.0
next prev parent reply other threads:[~2014-02-27 5:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 5:53 [PATCH 0/2] pwm-backlight: switch to gpiod interface (part 1) Alexandre Courbot
2014-02-27 5:53 ` Alexandre Courbot [this message]
2014-04-10 4:17 ` [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight Alexandre Courbot
2014-04-10 9:51 ` Jingoo Han
2014-04-10 14:14 ` Alexandre Courbot
2014-04-21 6:07 ` Alexandre Courbot
2014-05-06 4:59 ` Kukjin Kim
2014-05-06 14:33 ` Alexandre Courbot
2014-05-06 15:17 ` Thierry Reding
2014-05-07 8:14 ` Thierry Reding
2014-02-27 5:53 ` [PATCH 2/2] pwm-backlight: switch to gpiod interface Alexandre Courbot
2014-05-07 8:18 ` Thierry Reding
2014-05-07 8:39 ` Alexandre Courbot
2014-03-26 5:01 ` [PATCH 0/2] pwm-backlight: switch to gpiod interface (part 1) Alexandre Courbot
2014-03-27 0:08 ` Bryan Wu
2014-03-27 1:04 ` Jingoo Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393480414-19473-2-git-send-email-acourbot@nvidia.com \
--to=acourbot@nvidia.com \
--cc=ben-linux@fluff.org \
--cc=cooloney@gmail.com \
--cc=jg1.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox