[alsa-devel] [PATCH 1/3] ASoC: alc5632: add an of_match table

Mark Brown broonie at kernel.org
Tue Apr 1 00:45:20 CEST 2014

On Mon, Mar 31, 2014 at 01:47:04PM -0600, Stephen Warren wrote:

> There seems to be a mix of ifdef'ing the table and using of_match_ptr()
> vs. the other way around in ASoC. Mark, do you have a preference which
> way to go?

of_match_ptr() is supposed to avoid the warnings that the ifdefs fixed
more prettily - I suspect you'll find that the ones that don't use it
either predate of_match_ptr() or copied something that did.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140331/5a3ed28d/attachment.sig>

More information about the Alsa-devel mailing list