From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 22 Aug 2018 21:15:03 +0200 (CEST) Received: from smtp12.smtpout.orange.fr ([80.12.242.134]:33499 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23992869AbeHVTO6xJ3qU (ORCPT ); Wed, 22 Aug 2018 21:14:58 +0200 Received: from belgarion ([90.89.234.36]) by mwinf5d35 with ME id SKE31y00C0nnJME03KE68D; Wed, 22 Aug 2018 21:14:53 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Wed, 22 Aug 2018 21:14:53 +0200 X-ME-IP: 90.89.234.36 From: Robert Jarzmik To: Boris Brezillon Cc: Richard Weinberger , Miquel Raynal , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Marek Vasut , Jonathan Corbet , linux-doc@vger.kernel.org, Hartley Sweeten , Alexander Sverdlin , Lukasz Majewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Imre Kaloz , Krzysztof Halasa , Aaro Koskinen , Tony Lindgren , Alexander Clouter , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Daniel Mack , Haojian Zhuang , Ralf Baechle , linux-mips@linux-mips.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Kamal Dasu , Masahiro Yamada , Han Xu , Harvey Hunt , Vladimir Zapolskiy , Sylvain Lemieux , Xiaolei Li , Matthias Brugger , linux-mediatek@lists.infradead.org, Wan ZongShun , Neil Armstrong , Maxim Levitsky , Maxime Ripard , Chen-Yu Tsai , Marc Gonzalez , Mans Rullgard , Stefan Agner , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Greg Kroah-Hartman , devel@driverdev.osuosl.org Subject: Re: [PATCH 01/23] mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks References: <20180817160922.6224-1-boris.brezillon@bootlin.com> <20180817160922.6224-2-boris.brezillon@bootlin.com> X-URL: http://belgarath.falguerolles.org/ Date: Wed, 22 Aug 2018 21:14:02 +0200 In-Reply-To: <20180817160922.6224-2-boris.brezillon@bootlin.com> (Boris Brezillon's message of "Fri, 17 Aug 2018 18:09:00 +0200") Message-ID: <87y3cy8b9h.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 65719 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: robert.jarzmik@free.fr Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips 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