From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: John Crispin <blogic@openwrt.org>
Cc: Grant Likely <grant.likely@secretlab.ca>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] GPIO: add bindings for managed devices
Date: Wed, 21 Dec 2011 01:21:17 +0000 [thread overview]
Message-ID: <20111221012117.GD13529@sirena.org.uk> (raw)
In-Reply-To: <1324413621-11630-1-git-send-email-blogic@openwrt.org>
On Tue, Dec 20, 2011 at 09:40:21PM +0100, John Crispin wrote:
> +/**
> + * devm_gpio_request - request a gpio for a managed device
> + * @dev: device to request the gpio for
> + * @gpio: gpio to allocate
> + * @label: the name of the requested gpio
It'd be nicer to wrap gpio_request_one() as that's a bit neater from the
driver point of view since it combines the request with the mandatory
configuration step to put the GPIO into the appropraite mode.
next prev parent reply other threads:[~2011-12-21 1:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-20 20:40 John Crispin
2011-12-21 1:21 ` Mark Brown [this message]
2012-01-04 18:38 ` Grant Likely
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=20111221012117.GD13529@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=blogic@openwrt.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®