Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1769066ybg; Sat, 19 Oct 2019 02:07:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlpKSXjyS/+c/Qe0G8h5X6ImXSXFYHfSr2BGDW21Yo8VgAUm4be3gq6iiSNZqYE8LGqBRt X-Received: by 2002:a50:f701:: with SMTP id g1mr14035984edn.62.1571476047728; Sat, 19 Oct 2019 02:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571476047; cv=none; d=google.com; s=arc-20160816; b=B1IBtbgEH2ecW0acoRxsseuQFIbTCbRteLGXYgYlHBFf/76mkN9VXtN6h5GzY5qk6k glSHy/4LdQ+jSrEVPJF/Zq6lTYXbqnaGyOgQIOAGLkkN3TkyS1ZGb7IRh2kmvNvvqOrg 8e9koqTUOKEAeNr0no6XvS0aX8NkkwUa2Lv8u0OwvjaoRUD4E4yHz785t/zMDfdQS4EC SHENV08+Jj7fIw0RIBXFoNH+WpYyAAo/YWU3k2mcHMyi+s4t5Rmd7ZXCwt4SNWAyhCS/ 1qCWecRsiIbi6WEpI9cc+1EkD83YURj9C7VT63G7gYDfxpcnbactlhsEKzx5gI6Veqmy 5Q5Q== 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; bh=NNlXxl/DrRRMXAZJXRt6LTbwngxwuuZui4B951pX1Wk=; b=iqaYxB3nTmRO0+ofq8cGJWALHJW2Uxljp643xI0Sn1H38j/T8cWLJj0C1+WSmX4EJR OgWTWoNViZgE6jXOOT6tey8OCEMJyqq0CqCO8o6DBYJAKZPUATl0qKxmoU40erkPL54Z A06IUGbEq/NYqH80zZgATL0g6lnwsQ3IwLLimeJaZFmwGyV8HcdIq3sHJiVfC3OQnFZ/ TIuj5C9AY8TV86Ygp5Z2Fjw7+xQDDVtywrrT2571F8zZtRSUoorzHb7cIug14ufO81WT YJNGZ3EE6h/wjXbzHazzXZ/QGEvk14WKpZmlhsAUoPquwQZ5M5AqwTMVSo4OMiMrpS3H ZkMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X8BR9oW7; 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 w8si5670504edq.391.2019.10.19.02.07.04; Sat, 19 Oct 2019 02:07:27 -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=X8BR9oW7; 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 S2505883AbfJRSjp (ORCPT + 99 others); Fri, 18 Oct 2019 14:39:45 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34465 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502793AbfJRSjo (ORCPT ); Fri, 18 Oct 2019 14:39:44 -0400 Received: by mail-pg1-f196.google.com with SMTP id k20so3843235pgi.1; Fri, 18 Oct 2019 11:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NNlXxl/DrRRMXAZJXRt6LTbwngxwuuZui4B951pX1Wk=; b=X8BR9oW7d21Zevs2Srs2fuq3NnjuvCjuAzNFngBvN7cSgDtmTxCmiVyWvfN3uitpFu a6FUoeu29Ejrkdo/DsBjcYoKQ+invmgsOHeC16jTiurWhiAv0blf7bQetRYnIPnEAeyU Cb7eOLBPNuololZcbxiLqNaZwx+uOO6bhalw+aJNg2YEY8NGlZv390EPjHuLWYRlbEeW XRsXycQCseUyR4glJQdl9yrVX/htKTkVESi0wAKa8+OThZnaou/Y6l7qhPeRgqTRQb50 fC92HjwOaiGiapgyCWfqulAJqCeMfEEJ2Q+OiUwu5DbKv2Q07ViF5XXzqsdphp4EMSgs LZNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NNlXxl/DrRRMXAZJXRt6LTbwngxwuuZui4B951pX1Wk=; b=S0eXUCj+Esjc7cwf5ZJ52tgq36Vcg5ifx+3nrWMNoC7T+HL6P6i3s1twOmodZUZL6V DE0ddjUiBUKx9068a99ov0mItWD7cMrDqleYMsn84uJ+nG43Y1v3tKcKF+8Lujak9wSa PCzabA5NdXZ5oYKTqBvegBzJKZG8Aw7ONaiwwRc+Qt+ViJ0dtbt/qPmTkKNSzolOkf+s gDUSDg8VeDBYLIJygLSDKhLIyWyCLyJLoLZScEfBy6gRUXhEfI0wBkQPNR0aBinvKehn t91s2pFrBr8Nyz7IR+RzZMwCKs9VrmaEcWXgyITipOh8cmv+QqBr8h/6fyOd5cOWzxgj XA/Q== X-Gm-Message-State: APjAAAVlr/JNwu//T6krtJAjQWSJKX7tOxrL+S3y90F2Hg1G3X+W+WnE MWo4QTJ2O/MWp7jThl3nbwCA3mB+ X-Received: by 2002:a62:e90d:: with SMTP id j13mr8390525pfh.86.1571423983449; Fri, 18 Oct 2019 11:39:43 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id v9sm6874172pfe.109.2019.10.18.11.39.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 11:39:42 -0700 (PDT) Date: Fri, 18 Oct 2019 11:39:40 -0700 From: Dmitry Torokhov To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Marek Vasut , linux-input@vger.kernel.org Subject: Re: [PATCH 25/46] ARM: pxa: mainstone-wm97xx: use gpio lookup table Message-ID: <20191018183940.GM35946@dtor-ws> References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-25-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018154201.1276638-25-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 18, 2019 at 05:41:40PM +0200, Arnd Bergmann wrote: > This driver hardcodes gpio numbers without a header file. > Use lookup tables instead. > > Cc: Marek Vasut > Cc: Dmitry Torokhov > Cc: linux-input@vger.kernel.org > Signed-off-by: Arnd Bergmann Acked-by: Dmitry Torokhov Arnd, do you have these devices by chance? I had stached patches converting wm97xx core to use threaded ISR and it would be great if someone could test them... -- Dmitry