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

Takashi Iwai
2018-05-22T07:26:36Z

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@ladisch.de>
> > Cc: Jaroslav Kysela <perex@perex.cz>
> > Cc: Takashi Iwai <tiwai@suse.com>
> > Cc: alsa-devel@alsa-project.org
> > Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
> > ---
> > sound/firewire/oxfw/oxfw.c | 8 +-------
> > 1 file changed, 1 insertion(+), 7 deletions(-)
>
> Reviewed-by: Takashi Sakamoto <o-takashi@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