Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3980531ybg; Mon, 28 Oct 2019 23:52:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7erHSehMhmpRRPpW21FPPe5B2oKeau4ur/iya209GKXuM3+oHy4SWtFgqsGS/VK6bdhMU X-Received: by 2002:a50:b63b:: with SMTP id b56mr22284556ede.165.1572331942429; Mon, 28 Oct 2019 23:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572331942; cv=none; d=google.com; s=arc-20160816; b=IGrWUMy+QTxJykB/4sz7UsfAA2c2luQJ/y1iIGS2LCLCeqJMSLKq5KTF9acBDRFa6T HpxkbjHnu/kl9sVlFwqoeTluYihrSXl8evm2z0sVD9zzHR+65Y0FI0jWyl1jZwI5DkJR /XKTxjBI0CoqxrFkAntd9Kqcnog8qlFyCqEp+ELbGAXWAUQIUf8kPypqa1XsUldrrdzP nGNRABBxuMSH2//PpnOalOfkz0lHI2WJZdU2xVbkTkNB4Orh7BMhDany9VOjlVQKusry c9YBf/7aXqJHlkd166gJL21AvMDTu7B3Fr0vl/j0CO8YyOvXnXc2CBv6YfbZaxuB15Pd 3V0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=/a/8CZMVQAZJrlKXrsN+swJN2XLK4wljEsaFeikoWQw=; b=xVn3imGRN9gl4GSIfyR7LL76CFnp3Ghly+K/UvBxKbq5lwDsTQRAfN1gecbyKsMRX6 aCxy3ofdYvfi19i65PiKMnGgoCobTKQEEE8dLOmKbhN4dM4bNzMCM6JMUqyzj7x3nahr 6kz3FCdGDu+gwOJPgkuyQEQaxM9FuZVGAIDL+TF7u1Qt0VwGLltmxbKu9xa110JXUgkB ZB1PlWHG/3Z5EHcEjj8RhpvwR/l5eMi13ROxOSJOQn1uL4pngCwyAQQPFGQtv0dClvQQ 4xXa/1WU4hAzQngDjjTCaHmBr1zFmd7pP7HdnkFs2a924g+Xs6MN7WBTGlAwI0hBs2uR dhFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q23si6910055eda.167.2019.10.28.23.51.59; Mon, 28 Oct 2019 23:52:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730197AbfJ1Vb0 (ORCPT + 99 others); Mon, 28 Oct 2019 17:31:26 -0400 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:19653 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726234AbfJ1Vb0 (ORCPT ); Mon, 28 Oct 2019 17:31:26 -0400 Received: from belgarion ([90.55.204.252]) by mwinf5d17 with ME id K9XP2100H5TFNlm039XPai; Mon, 28 Oct 2019 22:31:24 +0100 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 28 Oct 2019 22:31:24 +0100 X-ME-IP: 90.55.204.252 From: Robert Jarzmik To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: [PATCH 26/46] ARM: pxa: zylonite: use gpio lookup instead mfp header References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-26-arnd@arndb.de> X-URL: http://belgarath.falguerolles.org/ Date: Mon, 28 Oct 2019 22:31:23 +0100 In-Reply-To: <20191018154201.1276638-26-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Oct 2019 17:41:41 +0200") Message-ID: <8736fclfpw.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/26 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > The mach/mfp.h header is only used by this one driver > for hardcoded gpio numbers. Change that to use a lookup > table instead. > > Cc: Dmitry Torokhov > Cc: linux-input@vger.kernel.org > Signed-off-by: Arnd Bergmann Acked-by: Robert Jarzmik Cheers. -- Robert