From: Jingoo Han <jg1.han@samsung.com>
To: 'Alexandre Courbot' <gnurou@gmail.com>,
'Alexandre Courbot' <acourbot@nvidia.com>
Cc: 'Thierry Reding' <thierry.reding@gmail.com>,
'Bryan Wu' <cooloney@gmail.com>,
'Ben Dooks' <ben-linux@fluff.org>,
'Kukjin Kim' <kgene.kim@samsung.com>,
linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org,
'Linux Kernel Mailing List' <linux-kernel@vger.kernel.org>,
'Jingoo Han' <jg1.han@samsung.com>
Subject: Re: [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight
Date: Thu, 10 Apr 2014 18:51:45 +0900 [thread overview]
Message-ID: <000701cf54a2$7c1379c0$743a6d40$%han@samsung.com> (raw)
In-Reply-To: <CAAVeFu+XUzZ7ozMOcp6A-gZJ9o8DZFrdh1j4LvCQtoTcu=PP1g@mail.gmail.com>
On Thursday, April 10, 2014 1:17 PM, Alexandre Courbot wrote:
>
> Ping, can I have the Samsung folks review and ,aybe even merge this
> patch? enable_gpio_flags is never used in any code, is replaced by
> gpiod, and we would like to remove it altogether from pwm_bl. Thanks!
OK, I see. It looks good.
As far as I know, 'enable_gpio_flags' has not been being used
for Samsung platform. So, there will be no side effect,
if 'enable_gpio_flags' is removed from 'arch/arm/plat-samsung'
directory.
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Best regards,
Jingoo Han
>
> Alex.
>
> On Thu, Feb 27, 2014 at 2:53 PM, Alexandre Courbot <acourbot@nvidia.com> wrote:
> > 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-04-10 9:51 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 ` [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight Alexandre Courbot
2014-04-10 4:17 ` Alexandre Courbot
2014-04-10 9:51 ` Jingoo Han [this message]
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='000701cf54a2$7c1379c0$743a6d40$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=acourbot@nvidia.com \
--cc=ben-linux@fluff.org \
--cc=cooloney@gmail.com \
--cc=gnurou@gmail.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;
as well as URLs for NNTP newsgroup(s).