Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp584130imm; Mon, 21 May 2018 10:44:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZolyBqH3fDdH6+H9UOgMtfGGMjh7iCIGLWYSQu+mk9TfQWc7aBoSH3xmiBWRXpfRKcaiH3q X-Received: by 2002:a65:4b8d:: with SMTP id t13-v6mr4082830pgq.446.1526924657829; Mon, 21 May 2018 10:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526924657; cv=none; d=google.com; s=arc-20160816; b=uP4j/owzRpFwoBFPblV/MpkgVxpDMZ9MHPpnCi7S+AqB0bFSpRYjxWXhLK1GMyMAzj H8VEr8zi3GrNsRsydetd2myEdH+BADwxFaJPyu7GCUm2ww4Lm6qWHfp07hTVuJuxfN3w kcjeZEOMO/ermIRKLTMPRpoWVmuHa5DTHj/lU2nn2ASVKadcc1WJa36B/5a+h3D6RX8h Dmf/KbNiqT/JZ/9bumKCpgToUeT+Zse1CKBRWCcQHiqtNza19Qf33iYvGvmFpayn5Quo ZWZwY/G07HrOsNwKrXrnAsSVpfStxcvrq7PS2VvZQH8Na/+eTfFgx0l0SbjPGYd5mKk4 i6Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=BLSLjKgvtwcgdVoJRCOnVFvyzA4AQJKIZ/Lm7rQfXS8=; b=TBChSe2OAgX5680vOwa9ZSAVCoaPSj2uSBe/PIFDv/9hLGth8y4Gp5muUCfQruqqP4 4gunpOSSa0fn49QH2JadFglwgWau9S977jOeOpOpMyuovDDUyBdOTtUfZo0rtqmFQGgL GJyh+EhGoGL7/dq5Kw4SCsnYzQDeLFcZxklpBy2TyU86UjGKP2qFin+vYZebS5z/0fOn UGlCGtEk0eBUzW2YsvZX/ZKxJGPwICw1IKADMMTkpEd+9i99G6dUF35ocGCFcN1Q33zN HXsQR/obKJ/MKuBAVaU60RCaLMlRL6Njp4nlaNY+2ohNh0+PhrA5pG6dqRNraLPl6g8B ka4g== 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 t7-v6si14911429pfa.170.2018.05.21.10.44.03; Mon, 21 May 2018 10:44:17 -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 S1753407AbeEURmp (ORCPT + 99 others); Mon, 21 May 2018 13:42:45 -0400 Received: from muru.com ([72.249.23.125]:43864 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753323AbeEURlT (ORCPT ); Mon, 21 May 2018 13:41:19 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8D72F8076; Mon, 21 May 2018 17:43:32 +0000 (UTC) Date: Mon, 21 May 2018 10:41:16 -0700 From: Tony Lindgren To: Yisheng Xie Cc: linux-kernel@vger.kernel.org, Lee Jones , linux-omap@vger.kernel.org Subject: Re: [PATCH 02/33] mfd: omap-usb-host: use match_string() helper Message-ID: <20180521174116.GB98604@atomide.com> References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> <1526903890-35761-3-git-send-email-xieyisheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526903890-35761-3-git-send-email-xieyisheng1@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Yisheng Xie [180521 12:11]: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. Looks OK to me: Acked-by: Tony Lindgren