From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v2 02/21] mfd: omap-usb-host: use match_string() helper Date: Mon, 4 Jun 2018 08:44:53 +0100 Message-ID: <20180604074453.GK25455@dell> References: <1527765086-19873-1-git-send-email-xieyisheng1@huawei.com> <1527765086-19873-3-git-send-email-xieyisheng1@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <1527765086-19873-3-git-send-email-xieyisheng1@huawei.com> Sender: linux-kernel-owner@vger.kernel.org To: Yisheng Xie Cc: linux-kernel@vger.kernel.org, andy.shevchenko@gmail.com, Tony Lindgren , linux-omap@vger.kernel.org List-Id: linux-omap@vger.kernel.org On Thu, 31 May 2018, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. > > Acked-by: Tony Lindgren > Reviewed-by: Andy Shevchenko > Cc: Tony Lindgren > Cc: Lee Jones > Cc: linux-omap@vger.kernel.org > Signed-off-by: Yisheng Xie > --- > v2: > - add Acked-by and Reviewed-by tag. > > drivers/mfd/omap-usb-host.c | 24 ++---------------------- > 1 file changed, 2 insertions(+), 22 deletions(-) I already applied this with the tags -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog