Re: [alsa-devel] [PATCH 29/33] ALSA: oxfw: use match_string() helper
From: Takashi Iwai
Date: Tue May 22 2018 - 02:32:17 EST
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@xxxxxxxxxx>
> > Cc: Jaroslav Kysela <perex@xxxxxxxx>
> > Cc: Takashi Iwai <tiwai@xxxxxxxx>
> > Cc: alsa-devel@xxxxxxxxxxxxxxxx
> > Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
> > ---
> > sound/firewire/oxfw/oxfw.c | 8 +-------
> > 1 file changed, 1 insertion(+), 7 deletions(-)
>
> Reviewed-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
>
> 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