[alsa-devel] [PATCH v2 2/2] ASoC: sta350: Use devm_gpiod_get_optional at appropriate place

Mark Brown broonie at kernel.org
Tue May 12 19:52:49 CEST 2015


On Sat, May 09, 2015 at 11:09:32PM +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/9c487161/attachment.sig>


More information about the Alsa-devel mailing list