Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3639400ybg; Mon, 28 Oct 2019 16:24:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqySRoGnjIZ72zh3JfSUok0zlSVB+d0TQJTsp15v24zxwXaU8fyoI6N4t9+nmFj+O6nPVIPK X-Received: by 2002:a17:906:66ce:: with SMTP id k14mr428541ejp.92.1572305063754; Mon, 28 Oct 2019 16:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572305063; cv=none; d=google.com; s=arc-20160816; b=t+WycAOI3hN00Gg1LJMnfc7yb2NjH4MhPfDYQiRyDdTAjKz++mRmHTlOMxZOAbLwFB 8Zz5GVf6ihfbAPwcm8uWeyr0kKU1JbW49Dz66RG7ZDQStgLmdcTF30OVRHoOiofWTyA9 Hpcq0yWbQSRU7NVWUMFTei4J2qtUZ3GZlPlac57EU61Q2jeMbb5ni8bxdVA6WUaXmit3 J2LxX2Te6aJeM3UOnWz6dlpn+BaUxV3WglyahU4yd9rPy+BZj7o8vN26GWbW94qCZ60C Cj3JauPkTIiGqVI1Ccm+6nNLmxmqDtQB50DUWkicqtejnteqX7fNZPa1WYNoq8lagPQD OgWw== 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=lgrxYrhncQ2NRULPqzt4u4oudtuU5owqIQpLGufrJgs=; b=A1Tiv03XY2LvHGmuv+YcUO/eQfdCSCzyOAtgMx0icdNkl5YifjiV34dGLqoeJ5/KlC RAtWYAZMbgFZAMeaqw93vs09MSXuzX3MEfZ/pENBbM4tUwbSWS4HwbIhDl5UqlWaEpkZ /shvVWGqD62wS5Wg9DfgbN4t7U7YBO0ch7c/6UWVoc9l17L+Qe+O/ToujYhnEFZTSyPF /P2ctd//XHNMdAr+8OFiSlgJ3+cyz19BPLdFo4+I7N8PlFNwhcos4E4ME0B+KSmdHOPV hU8ped14Jz1n21+K3ClNacFdeH3oWNf36AeTMWcPz/ez3VTg7zpry8weh6SWRb4b3VrZ GnRQ== 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 f23si9460902edc.46.2019.10.28.16.23.59; Mon, 28 Oct 2019 16:24:23 -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 S1729969AbfJ1VYZ (ORCPT + 99 others); Mon, 28 Oct 2019 17:24:25 -0400 Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:24864 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729836AbfJ1VYY (ORCPT ); Mon, 28 Oct 2019 17:24:24 -0400 Received: from belgarion ([90.55.204.252]) by mwinf5d17 with ME id K9QM2100L5TFNlm039QNEt; Mon, 28 Oct 2019 22:24:22 +0100 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 28 Oct 2019 22:24:22 +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 , Marek Vasut , Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: [PATCH 25/46] ARM: pxa: mainstone-wm97xx: use gpio lookup table References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-25-arnd@arndb.de> X-URL: http://belgarath.falguerolles.org/ Date: Mon, 28 Oct 2019 22:24:21 +0100 In-Reply-To: <20191018154201.1276638-25-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Oct 2019 17:41:40 +0200") Message-ID: <877e4olg1m.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: > 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: Robert Jarzmik Cheers. -- Robert