Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp803309imm; Mon, 21 May 2018 14:47:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoO+QLJ4bllLG3FocY1GVfOsfqxfVmT/a3wsZmLYqUFv5Xr2jN8QJpStE/8Jl3v5g4WL/sT X-Received: by 2002:a62:dfcd:: with SMTP id d74-v6mr21681623pfl.114.1526939246878; Mon, 21 May 2018 14:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526939246; cv=none; d=google.com; s=arc-20160816; b=eg8l1j994+KOWipwDH4fM6rq+eTjGj/pWSDGFVxliqmHcjlmhb2TWIMvZwyhFLA8Uw T8rjIEH+ITRqyJWjVmnKksh6s5+QTVj2KsxhiFlFfWanEjp3VoR7t2x6MorqeIghz1Ey 5YJYwvAemkJc85AirfQwfy/1ZhcKFvYBS1/bDCo3ohDBnj4ic4s+0ZuaragM9dxvAMhk VtfQFIt2rL94Ar7pbJ6jdIoEJZT8/+U4IOe4ln1TS5P9p8iYACIJuAq1MWeDakNeXBsn kD1LI1xkNpiLUcbbXjwNZw6tOlrOhHVeKgvuyUGbCCYCbGf/ITg19cNOK4dV4sGq87ya qKwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=WYyj3fr69uvqL6vaGwh3n+P0ltEAaSKykTCCBMk2w7I=; b=JrYFLC8f2UG1Cru8YjfnMQhx6PULJa8Ao7SXHk+OZD/rVqmu1I8dJTq3BPbb9lCBXd mxF4URAUtyDJYO1brkAHSgT7W9DT5bbUloIYs0XXU5eJg77Ok0pDCJrvq40t6sy851sp /m7Kvq8iSDicdo6s8Z76dI6oUcgjhGSJhWbzCNIWhJSz1JG9DeaV03VjO/O5Bd6ycdI7 xdEYdhUnVYhY2vf5WqJJp+/AvghHO07HCwigxwrs4i8D3A3swP8G5zm/ZrCJGdprGtoo 7GGBVjXPg8pJgKkuhugobrebwh/8+axJ9vxR5V7xjZqmDe7hu9Ld+6PnYlYzYqRGVaYM pADA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GT2sE7ER; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si15267248pld.323.2018.05.21.14.47.12; Mon, 21 May 2018 14:47:26 -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=pass header.i=@gmail.com header.s=20161025 header.b=GT2sE7ER; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932355AbeEUVpZ (ORCPT + 99 others); Mon, 21 May 2018 17:45:25 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:36659 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932216AbeEUVpV (ORCPT ); Mon, 21 May 2018 17:45:21 -0400 Received: by mail-qk0-f193.google.com with SMTP id n207-v6so369956qke.3 for ; Mon, 21 May 2018 14:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WYyj3fr69uvqL6vaGwh3n+P0ltEAaSKykTCCBMk2w7I=; b=GT2sE7ERlZn9AiaNlmdvxmRR4x8VLNGOvWBoHCnYAvxulP4xCt1Upj8AC+k74TEE4b nscaFE8BsKejMVdZ/sbMpAVGnOdeGkfhO7q4luGA4B8W1YPfCuXTp9IEzpne6WtAPprF qhzMlOCudCfx5ysIXEEODtX6v5WpY57EId41aZVuOmVpF37eOYs7pq7tFe0D5+mYI1Vy FSrlsKDqfAB3+ITgIdDUv9eAJROKNhH4jrUBh39vOrv8IpODtnNyeKqHExpAlehDD6yC fELUUvgCyAtSK6UQHMn0OL/Pu3RYIFlr10BrvU2hp7s93JCUoGcc7PEQ77Ix/5MufAGI px8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WYyj3fr69uvqL6vaGwh3n+P0ltEAaSKykTCCBMk2w7I=; b=Ww4TsMHt1R8LmStX5LIw0YBm/dTtvLCJHk+B0jKBV+S2YULCkABK8FAIvFZCvqNc9c FcKKewEhUM/5mcU3vKBYhAcKM+2iB91/yNk6j5hiSVwl040gSiMatOdcXcnMWCIijWI5 geYpac66DJNhMsXy/pr3gS5V7Vd9rBFIoIgUZplEC4xuycU1wsCbH5xkYdxuFm3kMb6j m5aPPYom50U2Sf09/SEIMxxtpA8RE6Zc5P+ndeVx2UqwTWX+ZLgYVMr4ag1x2FX00fXM ebS4MfKzxA+h+7Wb/ks0+DjAbkWlQ6qw9CfCyOitvuFAQm8Gz2q8SJfcp6HAA11PZJzQ QObA== X-Gm-Message-State: ALKqPweQolpwiB6lDyY0vtr4MBABsce0r1VTScw02clw86HgiepLiYUN oZ2jO3LMnLCP64I8DKFvkkzh2ip73Z9TWCTfCI4= X-Received: by 2002:a37:1f06:: with SMTP id f6-v6mr18577000qkf.147.1526939120700; Mon, 21 May 2018 14:45:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.152.150 with HTTP; Mon, 21 May 2018 14:45:20 -0700 (PDT) In-Reply-To: <1526903890-35761-10-git-send-email-xieyisheng1@huawei.com> References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> <1526903890-35761-10-git-send-email-xieyisheng1@huawei.com> From: Andy Shevchenko Date: Tue, 22 May 2018 00:45:20 +0300 Message-ID: Subject: Re: [PATCH 09/33] phy: tegra: use match_string() helper To: Yisheng Xie Cc: Linux Kernel Mailing List , Kishon Vijay Abraham I , Thierry Reding , Jonathan Hunter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used intead of open coded variant. > https://patchwork.ozlabs.org/patch/908133/ > Cc: Kishon Vijay Abraham I > Cc: Thierry Reding > Cc: Jonathan Hunter > Cc: linux-kernel@vger.kernel.org -- With Best Regards, Andy Shevchenko