Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp815667imm; Mon, 21 May 2018 15:02:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqe+Vf2ZTOKdKgr+uvhXfFGGrKaQ/XAMZ3ekr6vc6EYZHpr+e4lB5XkcA0ypM7KQjMntkik X-Received: by 2002:a62:3cd1:: with SMTP id b78-v6mr21308453pfk.44.1526940145573; Mon, 21 May 2018 15:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526940145; cv=none; d=google.com; s=arc-20160816; b=MzEe57ZFBVRlsio8KWRRqWAOn1S2CSZxXX6+LwOwpmjxzmZvqN3TrGI1pc4wm3vbyb 9grUj0KsWZfxe3rKYvRCtCXg/SroXk51f+eMekbAAapeYwvI9rwXJbHDPDl2dEODliZX Lqe2OSrX+Qw3dD8khzn7UoOx6INy579gio/SqffAaA+EMckTOchZKkKUvhdwFZrG0j+M 3XH3XIS2TVprxPdBpx4rYvhCxrUlUVFgrx5aq3Ye4BAsTrwF4iqN88SVlx1qOeg2prl2 HLL3cim4XbO5e85j+W7Xaq0oJ6xgLZL7OrNEE/UWWKwjsba1UMSKyVdFbtIrshumEaM8 FfKg== 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=FZeInD47+24jG6cR34RwcCMNlW1CI25c9dGMzqj3jPs=; b=h+Fe+Y9ON82eptzI16ojpql9pcL4LPvrot+8EkYhwkIx34T33YBAkjnX+hs67dA74A TtxGF7myW5dpK25d0cp3NaS3g8quDreoibiYxmG14Jcbo6f/MsUaE9WbyX0f+z2B6Q8X FgJpUOtPjjfS99jbu+swTrml+cX5TLFeocwsrBSMmgo2pr8F87Bxznt8oJ90TZbjjUvM aWmY33dE6N8OJx5SzIrb8tEy1E26hVjDJATPXeLWxEhwAc3yAf7gFDyOPgMviP78k9Bu 8EDlhZGbUC94rgZOfUMdcptif642xCvlaVi6zkaxaDlepTEZez9a1HobcjRrB/zscb7w 0LdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=acz2x2gN; 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 203-v6si14904676pfz.160.2018.05.21.15.02.10; Mon, 21 May 2018 15:02:25 -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=acz2x2gN; 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 S1754360AbeEUWCC (ORCPT + 99 others); Mon, 21 May 2018 18:02:02 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:44758 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932144AbeEUWB7 (ORCPT ); Mon, 21 May 2018 18:01:59 -0400 Received: by mail-qt0-f196.google.com with SMTP id d3-v6so20923458qtp.11 for ; Mon, 21 May 2018 15:01:58 -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=FZeInD47+24jG6cR34RwcCMNlW1CI25c9dGMzqj3jPs=; b=acz2x2gNn8d/tHibvCpDexCOZMY4Z6YPfqwLjSYxs2zd8hZ3QTy2Cklqkr/WeCYLsb DSi7gM5gWXtSLRbyZtv881txH+1ueHUHqTj/c8wbY2Mgtu5kbr7nHEB6z6a5U9C+OjW4 N0s8Ua4xWkQMHY2hgDOM6jphJhO3EsaCXPDW9t+NUA2+vAV4YG7JqhaCwNGq6pPfw6WS 3K4ny0ZtMxB1NA0VxsTzIf+sLDLheGCtd6RzFx1H+2PpWXuJqH1fr7mx8ASMXOXerQHP KvUCcXVaqC1tUy2+RJINjELBY6D8u7Ef1UHuKXQNg+VfJZLh7VZG3KOcJFtISoV2TGOz +M6g== 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=FZeInD47+24jG6cR34RwcCMNlW1CI25c9dGMzqj3jPs=; b=W665ZVrDN1vCdAl4CVK1kEzOUOdABhwuuGk4cr1YMVzQMdlOEDo3GRSYjM/xqg/t+b I6FTZ6vMTccuN3/fEFa9xPhW1Oq5O6BojwWTg1pTdju64yoz0Ajyb26cthj4OAmnSjgg bh+f9OEM9MDdR5O1ScqPft8YfiXhnQ06iNKNT/1LnZ+OGaLAIjAgL/UqHWGnLlsvx8tM zhyeAu0tSin2pkGspuB4mMw6XC+0HfE8jIEGfhRlnSTlrs99QqvqLXMTKGGcsdKsE6Kx tg1GpXa7evUPldQvBmM0/wI82MDqUwdAlMeqqif0al3crWsr1f+8Ubo9gsC/128jL/UY Yn+A== X-Gm-Message-State: ALKqPwdK/vEOtmjkUF75ATg0QJIXqRcsNOdA1sL/vap7/aTKIX8OFxJ/ F8KPRU/4PoD+szKobKyq8Tt3j5oVrARdQcb+zps= X-Received: by 2002:ac8:3488:: with SMTP id w8-v6mr20993449qtb.278.1526940118375; Mon, 21 May 2018 15:01:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.152.150 with HTTP; Mon, 21 May 2018 15:01:57 -0700 (PDT) In-Reply-To: <1526903890-35761-21-git-send-email-xieyisheng1@huawei.com> References: <1526903890-35761-1-git-send-email-xieyisheng1@huawei.com> <1526903890-35761-21-git-send-email-xieyisheng1@huawei.com> From: Andy Shevchenko Date: Tue, 22 May 2018 01:01:57 +0300 Message-ID: Subject: Re: [PATCH 20/33] video: fbdev: pxafb: use match_string() helper To: Yisheng Xie Cc: Linux Kernel Mailing List , Bartlomiej Zolnierkiewicz , Arvind Yadav , dri-devel@lists.freedesktop.org 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.kernel.org/patch/10378815/ > Cc: Bartlomiej Zolnierkiewicz > Cc: Arvind Yadav > Cc: dri-devel@lists.freedesktop.org > linux-fbdev@vger.kernel.org -- With Best Regards, Andy Shevchenko