Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp537402ybx; Tue, 5 Nov 2019 01:26:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxhuP1zmKE1DJEljITSa8PIy124/SXSq9eYZwqBAoxUUthe6NkOf+owC1ftuejd6JExvzw1 X-Received: by 2002:a17:906:4913:: with SMTP id b19mr7012666ejq.61.1572946002658; Tue, 05 Nov 2019 01:26:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572946002; cv=none; d=google.com; s=arc-20160816; b=LUIfwI73qDFmumoLZBlmpjyeh8S2KCFncDZhC+ada265nPXDd4f1HUHH09sBsKjbDi tqA2kjXYqOgxcjRvygYgkaIhfb3vTpBfKjp2aCx6RlvfZPZsOYYbnrT0Lwm1Sp9kEbuX UP7r9UNqjiaNBEG2hWN/CnyjicGHbFv+bNh1Kgx0uaj8Js2PErnIQ2znu7gIW5SLepfM xcyjakrCPz/e0f6PpFPJ1EOI1hhPQKUciTPwnBulewP90JTXzIZqxL5l13oLv1652483 IuqL6Hb0uc5o4+fHT9y03ObEnEHDqD5ZafI2TQfjnRrwkhLU9TjUDC7o4l5o78mKN3+d 6rGg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=k8LC5hoQOSSC3SYIdMqveplyFLeeSr89WqnCil+AS+E=; b=vfqQSu75MWbp2vupgkm2p90un9tnUj9QY3/bkE51c+RSvJsE+CnNCPNakuIpB8jput 6M+LsiVKG1lri+Q5ytw8lXaYzvDlalErZ/RynZ3iM1IWVr4xkImQMm94SW+lo7Jmzjkr 4nbQrOFat8uRfB/EZVutFlug9kuIxzQpqlJKilXxM2AF4Qv4jDmxwCIDOkq7SqfEezbt tW5egg/o2c31t9lp4nMMaWgPnNHP1f8pZvteMBR+Tu/MajATHpS3zdKVuScKeu4nnNab C1UdBjUJ1CVHcZ+fEBgGj1yr73lhYDe5scs4Xm0UnAS30YOoRq8bYkvsrSpI+pIBVM8W pvbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w76q11BC; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si12598311ejc.428.2019.11.05.01.26.18; Tue, 05 Nov 2019 01:26:42 -0800 (PST) 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=@linaro.org header.s=google header.b=w76q11BC; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730610AbfKEJZu (ORCPT + 99 others); Tue, 5 Nov 2019 04:25:50 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38181 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730475AbfKEJZu (ORCPT ); Tue, 5 Nov 2019 04:25:50 -0500 Received: by mail-lj1-f193.google.com with SMTP id v8so5300290ljh.5 for ; Tue, 05 Nov 2019 01:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k8LC5hoQOSSC3SYIdMqveplyFLeeSr89WqnCil+AS+E=; b=w76q11BCIBe59Mmf6DY+f8/pscc+d0jjzVhnZMY2wavCZw1hfWfQa59gIGMkWkfX6V 7Ju/8lwlgbw0zEfv7/Ja2CpBuZFIOq0svpp2ozaca1Iz6wL78qT8mYqfF/9Qau+dyPm5 Vigtyj0ZMX5wYJTnBycUg8mYx598+Q5CpionMfqiLFIK5zlxtsNvBAjutiG048/snHzl oyHV2lK33ABHUBfJERNid6lTsuPdYvt0Tslq2d9GWtEVKuEQxe9g4VQ1Y7HLya8XXx0N JI4Ybxidp502FZeLUgAQ9FUI/wAfDbfYXg2/YPGTV1DwHrJfKklLod01tnE2WbpHQm9D MpeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k8LC5hoQOSSC3SYIdMqveplyFLeeSr89WqnCil+AS+E=; b=nLDCTSBt8YrgemmmoSnkX8+90JMUhjNoTnrn0B8n+rG52BX/2+kyYCroW00OEdNVL0 E1tTttSujagAf1jlH4rF1IkGPb3fv9PQQPNHDlbHfGSvLoDQvN+lBoRtsw1lnrTTJ/b3 ogOFeIbi/zVdtEryt7ZWWsZYrF76v2a83fh6P7wC86hG/GF2dhp+6Xq7Sj5fS4F8Sn2O o7rixhoXqHu5sXYMyOwqiNq9VHXQSOd2I76nQq3XYC7eICLpsUt1nU5ZxkSkFaEoBiFe Vj4TsbvSOiNi3jHdXW/WjMCS7Gx9rHYNXR/DWzGs39O/Wl4Aj3ZWu1Tlyr3xKv3Jj7OD LF9A== X-Gm-Message-State: APjAAAWgHghfIfPBccEpTZIlbB83odCQf0yu+ktHz2387/vmf5/GON+d 4k7C842hwXvEEqHiobzJzMODixJL4YAlww+jzgWmIQ== X-Received: by 2002:a2e:161b:: with SMTP id w27mr22351639ljd.183.1572945947937; Tue, 05 Nov 2019 01:25:47 -0800 (PST) MIME-Version: 1.0 References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-25-arnd@arndb.de> In-Reply-To: <20191018154201.1276638-25-arnd@arndb.de> From: Linus Walleij Date: Tue, 5 Nov 2019 10:25:36 +0100 Message-ID: Subject: Re: [PATCH 25/46] ARM: pxa: mainstone-wm97xx: use gpio lookup table To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linux ARM , "linux-kernel@vger.kernel.org" , Marek Vasut , Dmitry Torokhov , Linux Input 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 Fri, Oct 18, 2019 at 5:42 PM 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 Reviewed-by: Linus Walleij Yours, Linus Walleij