Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp208620imm; Wed, 18 Jul 2018 00:21:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcaXaW51fsH+h8KN+SDicdAF8Y+TPCC2fjQmHl8ODs/7JvX8ZynqfCqQ3CU4RHWtDmN6OWs X-Received: by 2002:a17:902:bd4b:: with SMTP id b11-v6mr4673955plx.243.1531898504830; Wed, 18 Jul 2018 00:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531898504; cv=none; d=google.com; s=arc-20160816; b=b9MV4+T11ebiPgu+V4i1g5oNh/eHQKs559QcOHKRnJNseubMi8JRLA90PQq1+LgCFK Mxp65Am+fBEhadxGqIDwTckc92jZT/7Q92ZdLP8Hd2/jetb0gUIatn9WPHZq9XUIf8Bb djRQ80ewiyvQ/Haao9eKXuAoeKQd0VaJvNjeAgXI5EJVQXrROu/bz6rQ/TQddsdyofpc kK3pVU4aG+uJ+YZO9I+wVNT8saok+XQC7TuFFYl30wctmNhenWTTeO14O1tLCupn+3ou r92cHIeLsz6ZcLJ2S///KxTWfBK0T0b16gvNq85nl6i/FRDW3wO0wC+oFj5tIN4f8LdQ KWSQ== 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:arc-authentication-results; bh=BsekGf/nowIF0pZRf2OKYdAWQfxndjiR683FFWvj0Cw=; b=V1TP231esiwz1O5yX2UgIwZeY+OlLXyv9XPQ5cRzT372pjHr4G42S7opp776CudDSn Ixe0bF3tskFdrmcGwWyP3c5/Yt25Vo3lCb9j9pvyKCmsb3+KXOK+L1dggteRwVBrPViw Bqwb8OlLWo70uQhMOICJHV++hssQ3e9xbM7Vo3H7kQn+4Ka9dj0ygm2OlfwcIQ3yzlFN nccqFG5iiSCVTsuPVVoKP1bfyfvY3/WfIjWcK9iGf+jA9+H3L7lXzRJAziYowgIpd70i PHzk8XGH9U61RpwLCl1lasdduujoVjm77wUPP0a3dSVLwagjp/8emcwhEH9q/Pe+EAXH lGNQ== 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 o15-v6si2652110pgq.236.2018.07.18.00.21.29; Wed, 18 Jul 2018 00:21:44 -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 S1727065AbeGRH5T convert rfc822-to-8bit (ORCPT + 99 others); Wed, 18 Jul 2018 03:57:19 -0400 Received: from mail.bootlin.com ([62.4.15.54]:38220 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbeGRH5T (ORCPT ); Wed, 18 Jul 2018 03:57:19 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id BA1C020798; Wed, 18 Jul 2018 09:20:51 +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 (AAubervilliers-681-1-27-161.w90-88.abo.wanadoo.fr [90.88.147.161]) by mail.bootlin.com (Postfix) with ESMTPSA id 44F69206D8; Wed, 18 Jul 2018 09:20:41 +0200 (CEST) Date: Wed, 18 Jul 2018 09:20:41 +0200 From: Miquel Raynal To: Janusz Krzysztofik Cc: Tony Lindgren , Aaro Koskinen , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Shreeya Patel , Arvind Yadav , Bartlomiej Zolnierkiewicz , Gregory CLEMENT , Krzysztof Halasa , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Andy Shevchenko , Tomi Valkeinen Subject: Re: [PATCH v2 2/3 v4] mtd: rawnand: ams-delta: use GPIO lookup table Message-ID: <20180718092041.1d49094a@xps13> In-Reply-To: <20180717231448.14958-3-jmkrzyszt@gmail.com> References: <20180518210954.29044-1-jmkrzyszt@gmail.com> <20180717231448.14958-1-jmkrzyszt@gmail.com> <20180717231448.14958-3-jmkrzyszt@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; 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, Tony Janusz Krzysztofik wrote on Wed, 18 Jul 2018 01:14:47 +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 As suggested by Boris, we expect this series to go through the OMAP tree so we'll need an immutable tag, there are more changes on this driver coming in. Thanks! Miquèl