linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Jonas Gorski <jogo@openwrt.org>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	Joachim Eastwood <manabian@gmail.com>,
	Jonas Jensen <jonas.jensen@gmail.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	James Hogan <james.hogan@imgtec.com>,
	Stefan Agner <stefan@agner.ch>, Jun Nie <jun.nie@linaro.org>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Lee Jones <lee@kernel.org>, Eric Anholt <eric@anholt.net>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Alessandro Rubini <rubini@unipv.it>,
	Sonic Zhang <sonic.zhang@analog.com>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Baruch Siach <baruch@tkos.co.il>,
	Andrew Bresticker <abrestic@chromium.org>
Subject: Re: [PATCH V2 3/5] gpio: gpio-xz: use the generic request/free implementations
Date: Fri, 16 Oct 2015 22:16:15 +0200	[thread overview]
Message-ID: <CACRpkdZ+vretrO7mtZzxzRPC1Bobdp8Ou+Sm3TcmuVQOho7mAg@mail.gmail.com> (raw)
In-Reply-To: <1444577659-17621-4-git-send-email-jogo@openwrt.org>

On Sun, Oct 11, 2015 at 5:34 PM, Jonas Gorski <jogo@openwrt.org> wrote:

> Instead of storing in the chip data whether the chip uses pinctrl and
> conditionally call pinctrl_{request,free}_gpio, just don't populate
> request/free in that case.
>
> This makes the implementations trivial and the same as the generic
> implementations, thus we can just use them.
>
> Signed-off-by: Jonas Gorski <jogo@openwrt.org>

Patch applied.

Yours,
Linus Walleij

  reply	other threads:[~2015-10-16 20:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-11 15:34 [PATCH V2 0/5] gpiochip: add and use generic request/free Jonas Gorski
2015-10-11 15:34 ` [PATCH V2 1/5] gpiolib: provide generic request/free implementations Jonas Gorski
2015-10-16 20:11   ` Linus Walleij
2015-10-11 15:34 ` [PATCH V2 2/5] gpio: replace trivial implementations of request/free with generic one Jonas Gorski
2015-10-12 13:08   ` Gregory CLEMENT
2015-10-16 20:14   ` Linus Walleij
2015-10-11 15:34 ` [PATCH V2 3/5] gpio: gpio-xz: use the generic request/free implementations Jonas Gorski
2015-10-16 20:16   ` Linus Walleij [this message]
2015-10-11 15:34 ` [PATCH V2 4/5] gpio: gpio-pl061: " Jonas Gorski
2015-10-16 20:17   ` Linus Walleij
2015-10-11 15:34 ` [PATCH V2 5/5] pinctrl: replace trivial implementations of gpio_chip request/free Jonas Gorski
2015-10-11 15:43   ` Maxime Ripard
2015-10-16 20:20   ` Linus Walleij

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=CACRpkdZ+vretrO7mtZzxzRPC1Bobdp8Ou+Sm3TcmuVQOho7mAg@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=abrestic@chromium.org \
    --cc=baruch@tkos.co.il \
    --cc=eric@anholt.net \
    --cc=gnurou@gmail.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=james.hogan@imgtec.com \
    --cc=jogo@openwrt.org \
    --cc=jonas.jensen@gmail.com \
    --cc=jun.nie@linaro.org \
    --cc=ldewangan@nvidia.com \
    --cc=lee@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=manabian@gmail.com \
    --cc=matthias.bgg@gmail.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=plagnioj@jcrosoft.com \
    --cc=rubini@unipv.it \
    --cc=sonic.zhang@analog.com \
    --cc=stefan@agner.ch \
    --cc=swarren@wwwdotorg.org \
    --cc=thomas.petazzoni@free-electrons.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).