From: "Andrew F. Davis" <afd@ti.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Alexandre Courbot <gnurou@gmail.com>,
Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v6 3/3] gpio: tps65086: Add GPO driver for the TPS65086 PMIC
Date: Sat, 6 Feb 2016 10:11:23 -0600 [thread overview]
Message-ID: <56B61B2B.2020001@ti.com> (raw)
In-Reply-To: <CACRpkdY9P=opTEzsMJ42dqMUV-kVmDzLuVq_vSgr3on3=9LtqQ@mail.gmail.com>
On 02/05/2016 08:43 AM, Linus Walleij wrote:
> On Mon, Jan 25, 2016 at 4:50 PM, Andrew F. Davis <afd@ti.com> wrote:
>
>> Add support for the TPS65086 PMIC GPOs.
>>
>> TPS65086 has four configurable GPOs that can be used for several
>> purposes. These are output only.
>>
>> Signed-off-by: Andrew F. Davis <afd@ti.com>
> (...)
>> +static inline struct tps65086_gpio *to_tps65086_gpio(struct gpio_chip *chip)
>> +{
>> + return container_of(chip, struct tps65086_gpio, chip);
>> +}
>
> Remove this and use gpiochip_get_data() instead.
>
>> + ret = gpiochip_add(&gpio->chip);
>
> And use gpiochip_add_data() to pass what gpiochip_get_data()
> will return.
>
> Apart from that no strong opinions.
>
> If there is a header file dependency this either has to go to
> Lee's tree with my ACK, or wait until the next kernel cycle.
> But first change the above.
>
> Yours,
> Linus Walleij
>
Changes made, I will resend this part as its own patch as the other components
have been taken.
Thanks,
Andrew
prev parent reply other threads:[~2016-02-06 16:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 15:50 [PATCH v6 0/3] Add support for the TI TPS65086 PMIC Andrew F. Davis
2016-01-25 15:50 ` Andrew F. Davis
2016-01-25 15:50 ` [PATCH v6 1/3] Documentation: tps65086: Add DT bindings for the " Andrew F. Davis
2016-01-25 15:50 ` Andrew F. Davis
[not found] ` <1453737012-3130-2-git-send-email-afd-l0cyMroinI0@public.gmane.org>
2016-01-26 14:02 ` Lee Jones
2016-01-26 14:02 ` Lee Jones
2016-01-27 7:28 ` Lee Jones
2016-01-27 7:28 ` Lee Jones
2016-01-25 15:50 ` [PATCH v6 2/3] mfd: tps65086: Add driver " Andrew F. Davis
2016-01-25 15:50 ` Andrew F. Davis
2016-01-27 7:29 ` Lee Jones
2016-01-27 7:29 ` Lee Jones
2016-01-25 15:50 ` [PATCH v6 3/3] gpio: tps65086: Add GPO " Andrew F. Davis
2016-01-25 15:50 ` Andrew F. Davis
2016-01-26 14:03 ` Lee Jones
2016-01-26 14:03 ` Lee Jones
2016-01-26 14:38 ` Andrew F. Davis
2016-01-26 14:38 ` Andrew F. Davis
[not found] ` <56A784CC.4090902-l0cyMroinI0@public.gmane.org>
2016-01-27 7:29 ` Lee Jones
2016-01-27 7:29 ` Lee Jones
2016-02-05 14:43 ` Linus Walleij
2016-02-06 16:11 ` Andrew F. Davis [this message]
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=56B61B2B.2020001@ti.com \
--to=afd@ti.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=gnurou@gmail.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sameo@linux.intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.