[alsa-devel] [PATCH 07/11] ASoC: add for_each_component_all() macro

Mark Brown broonie at kernel.org
Thu Sep 20 19:32:55 CEST 2018


On Tue, Sep 18, 2018 at 01:30:10AM +0000, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> To be more readable code, this patch adds
> new for_each_component_all() macro, and replace existing code to it.

I think this one might be better named as just for_each_component() - I
don't think there's much risk of confusion with the more specific
iterators for specific types of components and it sounds less awkward.
I'll skip this and one subsequent patch that depended on it then apply
the rest, they all look good.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180920/1dbfc989/attachment.sig>


More information about the Alsa-devel mailing list