[alsa-devel] [PATCH 29/33] ALSA: oxfw: use match_string() helper

Takashi Iwai tiwai at suse.de
Tue May 22 09:26:30 CEST 2018


On Tue, 22 May 2018 00:26:53 +0200,
Takashi Sakamoto wrote:
> 
> Hi,
> 
> On May 21 2018 20:58, Yisheng Xie wrote:
> > match_string() returns the index of an array for a matching string,
> > which can be used intead of open coded variant.
> >
> > Cc: Clemens Ladisch <clemens at ladisch.de>
> > Cc: Jaroslav Kysela <perex at perex.cz>
> > Cc: Takashi Iwai <tiwai at suse.com>
> > Cc: alsa-devel at alsa-project.org
> > Signed-off-by: Yisheng Xie <xieyisheng1 at huawei.com>
> > ---
> >   sound/firewire/oxfw/oxfw.c | 8 +-------
> >   1 file changed, 1 insertion(+), 7 deletions(-)
> 
> Reviewed-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
> 
> For my information, use_match_string() helper was firstly introduced to
> v4.6 kernel by a commit 56b060814e2d ('lib/string: introduce
> match_string() helper').

OK, applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list