[alsa-devel] [PATCH v2 1/2] ASoC: sta32x: Use devm_gpiod_get_optional at appropriate place
Mark Brown
broonie at kernel.org
Tue May 12 19:52:21 CEST 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150512/6596ade9/attachment.sig>
More information about the Alsa-devel
mailing list