Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp515573imm; Thu, 31 May 2018 04:52:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK3XNA1TlFj8BcTwRknn3EPeuIIDietILOwTjQjIuBJoUaY5hE2iytTascPZ8B4XevV4dJd X-Received: by 2002:a17:902:5602:: with SMTP id h2-v6mr6809197pli.115.1527767520479; Thu, 31 May 2018 04:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527767520; cv=none; d=google.com; s=arc-20160816; b=Tnd5lFP3l05VTqpNSHlPNJpk0/o9UBuVxNzpDKVM6GUITDi5sBoQSCZ/F2FnFwGwKP QDKoFiTCdNT7YXWfWFLfpoZt4Rzq1mblCwzxPHU8M+bqFQRjnzSxZibfa+EkR6YVHMMY NwJ54eNHkASaq0RpUpCUWw7men0BEMvVt6TNQVlRij5x7zRdkGjZqb+gnRw+K2Cy25JE 8UR5YtX6++QoLH9eRZ42ViY8vc+b7s3tN5Ctj6oNKNP/zsf4IFEkgtxN1yp6DmgfC37f EOeUwnKzDwRKORR6Xzy55AEgFZFaXdipnfP/WMn/bxCO44TQp6eVcNkmm+Ms6E2Ex3DW oE+A== 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:dkim-signature:arc-authentication-results; bh=OujSDqp2s3EfM4Y6HPJg1sEIF16u/IVuXX7YN+luFs8=; b=AkBVXuenLF5fdzE0nr7EomP+aMAF7gj0g93rATTZRauQEEm1b358y23CbIleMUHMbM 9R5HQP8/QLr9aDqmbp+/hWQ6wHmmth7qFPWSjCJLqyG+W0wjfVLYiOtz3ad5r1jhoyma YlAqHUHWuH9yLrgLOL3CQ2kA00kkegw3b8GcX8IpHMMWT5LQhY+d88WimIh7BBmJlNkU MKKHptZJCDnsLnjC/ZA7lOCgBBFygLcerpoE638bEb8k+40RYHqaqdac8ndVXcyCwpz/ g4yRI5nAVejtLZnU6j5l7NoHtCdzeaO1Wnwa+2Fl4u9V2WBJmQvi+J+yY8NYCQm7IThc XWpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=TWA9/0Fy; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 123-v6si9855328pgj.399.2018.05.31.04.51.46; Thu, 31 May 2018 04:52:00 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=TWA9/0Fy; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754810AbeEaLt3 (ORCPT + 99 others); Thu, 31 May 2018 07:49:29 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:38288 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754586AbeEaLt2 (ORCPT ); Thu, 31 May 2018 07:49:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OujSDqp2s3EfM4Y6HPJg1sEIF16u/IVuXX7YN+luFs8=; b=TWA9/0Fy/hwCw66jo7aGRUrod aLnJzCfgU1fILMzNnyOM3I+yWYz8WNNBpQF3HZGZfm0joOBK7NhJNl3XwmfnPYLC4yZ7N1aycrQ+B eCw2wK+dxh4K4Oy6WZFJVYoFCzPduPFVpRql13ghG6oxGlClVVXQtT7VXYiTclMXqBs6Y=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOM53-0000Cz-Eg; Thu, 31 May 2018 11:49:21 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fOM53-0003Xv-14; Thu, 31 May 2018 12:49:21 +0100 Date: Thu, 31 May 2018 12:49:21 +0100 From: Mark Brown To: Yisheng Xie Cc: linux-kernel@vger.kernel.org, andy.shevchenko@gmail.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: Re: [PATCH v2 16/21] ASoC: max98088: use match_string() helper Message-ID: <20180531114921.GD13319@sirena.org.uk> References: <1527765086-19873-1-git-send-email-xieyisheng1@huawei.com> <1527765086-19873-17-git-send-email-xieyisheng1@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RhUH2Ysw6aD5utA4" Content-Disposition: inline In-Reply-To: <1527765086-19873-17-git-send-email-xieyisheng1@huawei.com> X-Cookie: I've read SEVEN MILLION books!! User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RhUH2Ysw6aD5utA4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 31, 2018 at 07:11:21PM +0800, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. I don't have either the cover letter or the rest of the series here so I've no context - what is the story here with regard to dependencies and things? --RhUH2Ysw6aD5utA4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlsP4UAACgkQJNaLcl1U h9ARWwf/eXONi0P5tRYseDnx7xeRNPi94O9wUx2+o8n7BSELbY9Plpo2s6YEW2U0 37zqBaKzT+6Q95eYqGXDzAQPhvmsogWRUC6xRGu4pf1Q7giYLed4wq43PP4DGpSy 262Z00PayoE3OqdbdZgbo6dKLAgjyDpVvl39ARX4p2KlgOwv2EUg2GKhtkaXvrBC f89Bf7is6X6gF3Fn6b5FHTdEcOK0mFptZAt6pFpq0g9LDNCG6W5YV3LgBA5pVl6/ JCg63Tg0E0ASAfWwU+y8HxKB4/Jzhxn0Ig0Pvc6p158nBtsfX9XY9kGDudzeprtb UR5XRWsBWrRh2AeDYv1cxofuupb0dA== =bLKf -----END PGP SIGNATURE----- --RhUH2Ysw6aD5utA4--