Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3320131imm; Mon, 4 Jun 2018 01:16:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIEY7J5v7lAnMdkekAl3Mk7LlE2p70N+iG/e/PNRGgn3UB05wXjJFKYqehTYhcbiDWJxSxx X-Received: by 2002:a62:860b:: with SMTP id x11-v6mr1336574pfd.92.1528100202625; Mon, 04 Jun 2018 01:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528100202; cv=none; d=google.com; s=arc-20160816; b=gB2F3/hu82y9bY85QcORLoW7YYmX2bDKo9FBpFr9XpnE2qYTm4k3JujJVxxa5oz4qN Mb7DUmTPYHEGj15WoB+EQ29FVedP2VbDldrsIKUucwM4sGyU0DRmumQMjZ4UiwXQGw/6 NTSJz30uy2o6SCma47WNssdslbd2V6M2dTgOlDxwFYZ92KqcQJ8VcRX+qhpwA2FPVdfI T6gmy6PReqt8fZD0iIUai0RrYROmItMynM0wNe+0DvLwbLKjHSQE594AWzIidti3O+6O iS3CZT7rflyVBi0tFaqNp8t985lnHzvXloJQggnsR0LlJxkxZz6VX9ueolz1sL+oDs5K +gsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=s/pFPXCcjUGRASBjJM2CQ+k5rDDBqEBKZ2XO8zrporI=; b=nvZ7EOLxtONKsaFFGhSyoT+NVsjLb19a0U7j/Zvk/1StXsSCRDn5/frzoPsSUyzxxQ 5VbXmwKV+5HbnpZFtb8IjatnXIr9iGwn1DfTVH3RP1Kt6AMqHFYX/iW6C3gCth0iDYiY N6/gP+CxX7UzhAuiojbTV7rxgEgrjdh0iPYrXWOpTwKTMd6wIcGFiilM3+/LmLnf+Ein E8OhQE8SJe8gNHLdDXhuBnsaSYG1G8mG34YFYQeH0gYrdUoK21RZB/ly6/rBYE58/Uvr qqA1sUujhyenuigjPkkbvXevWQr9rO7Xwqsa8WrMbG7svuCF5p9sUJsMvUZJduZ/KlwB fmQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10-v6si45136128pfe.70.2018.06.04.01.16.28; Mon, 04 Jun 2018 01:16:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751968AbeFDIOn (ORCPT + 99 others); Mon, 4 Jun 2018 04:14:43 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:47741 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751624AbeFDIOm (ORCPT ); Mon, 4 Jun 2018 04:14:42 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 72EBACEF1E29E; Mon, 4 Jun 2018 16:14:37 +0800 (CST) Received: from [127.0.0.1] (10.177.29.40) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.382.0; Mon, 4 Jun 2018 16:14:36 +0800 Subject: Re: [PATCH v2 02/21] mfd: omap-usb-host: use match_string() helper To: Lee Jones References: <1527765086-19873-1-git-send-email-xieyisheng1@huawei.com> <1527765086-19873-3-git-send-email-xieyisheng1@huawei.com> <20180604074453.GK25455@dell> CC: , , Tony Lindgren , From: Yisheng Xie Message-ID: Date: Mon, 4 Jun 2018 16:13:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20180604074453.GK25455@dell> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 2018/6/4 15:44, Lee Jones wrote: > 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 Thanks Yisheng >