Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1456123imm; Sun, 23 Sep 2018 04:36:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV62QjwbcV5DzINukzFbkF9U6jzwxtiS1rrBXXyCbAE5xEt8jj2hViXKjWFqSYrxQORarBT7n X-Received: by 2002:a63:d40c:: with SMTP id a12-v6mr2953380pgh.394.1537702571531; Sun, 23 Sep 2018 04:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537702571; cv=none; d=google.com; s=arc-20160816; b=T8YUMSfslCP+HOcWqmSXkx+v4UUKBuhBo0cASEATGkXfAqdKwa8sI5oGwPV1rSabJB zT7UkzhjN6rim4zkY4XvFeet5T9bMBpZuXo8QYe9a0cjxxAh/BjCKApRX9clXRDRjYvZ q8Whmqkts5jYVRwEtj9eh/CAFWVHNXxJB/1o5YzK66FmZawk5webRTyZ17GVrj3cz/u9 6qFuvIhNbL3DIzIvfmYsvQe3+UqAOBd4hbzn+JGWTNuMiXsLu/VcviEndDb/4orCr40b uo3Bw0FTpwUd2DqHiGVl4Bacwm0fIK8wOA5JHzFodWzynCLl4roFBIberElkP0Bxe8n4 xQPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=LZ3V5i8S1AKW9LZiiauRd8tWlhvJN+ALGe1WCUMM8RI=; b=tZjWc97H/a4ajHZ6/zNw5b0WbC70XUXZhAg65xH3Bp4zL7fUmOLgXfoUCLlzBjVaCh ZLlSIDKGztelk/XA/4rJ0d+DjIbl83lAMPRqdh7ouFTJ4UPr3InCzBUVBNNMNdD+Qe1s dnFDJNVtU5rxkvAdsAaDMWzUaMK78LMUdgQEcRX+snpi1twKp+UGS1QSSV6dmtRzfClN WohIu9s08gORi4xfhBG8htEsxO7H+3GEFpKedW89e+HcY587b5HagAXKFTpsiKp+liv5 guHQllPn6uegLobLeCYZ1gabhmvTbx5bMuftzCOTLDHRWdfQMMZIYs3LFuNY6Par7kgU 8L3w== 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 s13-v6si30059981pgo.505.2018.09.23.04.35.56; Sun, 23 Sep 2018 04:36:11 -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 S1726235AbeIWRco convert rfc822-to-8bit (ORCPT + 99 others); Sun, 23 Sep 2018 13:32:44 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39964 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbeIWRco (ORCPT ); Sun, 23 Sep 2018 13:32:44 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 59B9D207CF; Sun, 23 Sep 2018 13:35:32 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from xps13 (AToulouse-657-1-1019-69.w90-11.abo.wanadoo.fr [90.11.225.69]) by mail.bootlin.com (Postfix) with ESMTPSA id AE420207CA; Sun, 23 Sep 2018 13:35:31 +0200 (CEST) Date: Sun, 23 Sep 2018 13:35:31 +0200 From: Miquel Raynal To: Janusz Krzysztofik Cc: Linus Walleij , Tony Lindgren , Aaro Koskinen , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5] mtd: rawnand: ams-delta: use GPIO lookup table Message-ID: <20180923133531.0c98e803@xps13> In-Reply-To: <20180919221729.21179-1-jmkrzyszt@gmail.com> References: <20180909225605.16463-3-jmkrzyszt@gmail.com> <20180919221729.21179-1-jmkrzyszt@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Janusz, Janusz Krzysztofik wrote on Thu, 20 Sep 2018 00:17:29 +0200: > Now as Amstrad Delta board - the only user of this driver - provides > GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and > use the table to locate required GPIO pins. > > Declare static variables for storing GPIO descriptors and replace > gpio_ function calls with their gpiod_ equivalents. > > Pin naming used by the driver should be followed while respective GPIO > lookup table is initialized by a board init code. > > Signed-off-by: Janusz Krzysztofik > Acked-by: Boris Brezillon > Acked-by: Miquel Raynal Applied on nand/next. Thanks, Miquèl