public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Axel Lin <axel.lin@ingics.com>
Cc: Johannes Stezenbach <js@sig21.net>,
	Sven Brandau <info@brandau.biz>,
	Liam Girdwood <lgirdwood@gmail.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: [PATCH v2 1/2] ASoC: sta32x: Use devm_gpiod_get_optional at appropriate place
Date: Tue, 12 May 2015 18:52:21 +0100	[thread overview]
Message-ID: <20150512175221.GJ3066@sirena.org.uk> (raw)
In-Reply-To: <1431184113.5393.1.camel@ingics.com>


[-- Attachment #1.1: Type: text/plain, Size: 295 bytes --]

On Sat, May 09, 2015 at 11:08:33PM +0800, Axel Lin wrote:
> devm_gpiod_get_optional() is equivalent to devm_gpiod_get(), except that
> when no GPIO was assigned to the requested function it will return NULL.
> This is convenient for drivers that need to handle optional GPIOs.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



      parent reply	other threads:[~2015-05-12 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09 15:08 [PATCH v2 1/2] ASoC: sta32x: Use devm_gpiod_get_optional at appropriate place Axel Lin
2015-05-09 15:09 ` [PATCH v2 2/2] ASoC: sta350: " Axel Lin
2015-05-12 17:52   ` Mark Brown
2015-05-12 17:52 ` Mark Brown [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=20150512175221.GJ3066@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=axel.lin@ingics.com \
    --cc=info@brandau.biz \
    --cc=js@sig21.net \
    --cc=lgirdwood@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