From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffOjv-0007aM-Ur for linux-mtd@lists.infradead.org; Tue, 17 Jul 2018 12:06:01 +0000 Date: Tue, 17 Jul 2018 14:05:38 +0200 From: Boris Brezillon To: Miquel Raynal Cc: Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , linux-mtd@lists.infradead.org Subject: Re: [RFC PATCH 1/3] mtd: rawnand: better name for the controller structure Message-ID: <20180717140538.532320a8@bbrezillon> In-Reply-To: <20180717135837.29afdbde@xps13> References: <20180717095454.27935-1-miquel.raynal@bootlin.com> <20180717095454.27935-2-miquel.raynal@bootlin.com> <20180717134950.69b59136@bbrezillon> <20180717135837.29afdbde@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 17 Jul 2018 13:58:37 +0200 Miquel Raynal wrote: > Hi Boris, > > Boris Brezillon wrote on Tue, 17 Jul 2018 > 13:49:50 +0200: > > > On Tue, 17 Jul 2018 11:54:52 +0200 > > Miquel Raynal wrote: > > > > > In the raw NAND core, a NAND chip is described by a nand_chip structure, > > > while a NAND controller is described with a nand_hw_control structure > > > which is not very meaningful. 'control' is misleading and 'hw' has no > > > meaning here has it refers to hardware ECC operations only, > > > > I don't think hw refers to hardware ECC, but I agree that > > nand_controller is a better name for this structure. > > > > How about dropping the last sentence? > > Do you mean, removing > "'control' is misleading [...] which is too restrictive" > or > "Rename this structure nand_controller" > ? The former.