From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Jarzmik Subject: Re: [PATCH 01/23] mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks Date: Wed, 22 Aug 2018 21:14:02 +0200 Message-ID: <87y3cy8b9h.fsf@belgarion.home> References: <20180817160922.6224-1-boris.brezillon@bootlin.com> <20180817160922.6224-2-boris.brezillon@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180817160922.6224-2-boris.brezillon-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org> (Boris Brezillon's message of "Fri, 17 Aug 2018 18:09:00 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Boris Brezillon Cc: Andrew Lunn , Alexandre Belloni , Rich Felker , linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tony Lindgren , linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, Stefan Agner , Masahiro Yamada , Mans Rullgard , linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Miquel Raynal , Jason Cooper , devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b@public.gmane.org, Maxime Ripard , Maxim Levitsky , Yoshinori Sato , Aaro Koskinen , Richard Weinberger , Gregory Clement , linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Lukasz Majewski , Neil Armstrong , Marek Vasut , Chen-Yu Tsai , NXP List-Id: linux-mediatek@lists.infradead.org Boris Brezillon writes: > Let's make the raw NAND API consistent by patching all helpers and > hooks to take a nand_chip object instead of an mtd_info one or > remove the mtd_info object when both are passed. > > In order to do that, we first need to update the platform_nand_ctrl > hooks to take a nand_chip object instead of an mtd_info. > > We had temporary plat_nand_xxx() wrappers to the do the mtd -> chip > conversion, but those will be dropped when doing the patching nand_chip > hooks to take a nand_chip object. > > Signed-off-by: Boris Brezillon For mach-pxa: Acked-by: Robert Jarzmik Cheers. -- Robert