From: Takashi Iwai Subject: Re: [alsa-devel] [PATCH 29/33] ALSA: oxfw: use match_string() helper Date: Tue, 22 May 2018 09:26:30 +0200 Message-ID: References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> <1526903890-35761-30-git-send-email-xieyisheng1@huawei.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Takashi Sakamoto Cc: Yisheng Xie , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Clemens Ladisch List-Id: alsa-devel@alsa-project.org 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 > > Cc: Jaroslav Kysela > > Cc: Takashi Iwai > > Cc: alsa-devel@alsa-project.org > > Signed-off-by: Yisheng Xie > > --- > > sound/firewire/oxfw/oxfw.c | 8 +------- > > 1 file changed, 1 insertion(+), 7 deletions(-) > > Reviewed-by: Takashi Sakamoto > > 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