Received: from wohnheim.fh-wedel.de ([213.39.233.138]) by canuck.infradead.org with esmtp (Exim 4.62 #1 (Red Hat Linux)) id 1Fl8IA-0003WU-Bz for linux-mtd@lists.infradead.org; Tue, 30 May 2006 13:46:10 -0400 Date: Tue, 30 May 2006 19:45:52 +0200 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Nicolas Pitre Message-ID: <20060530174552.GE26220@wohnheim.fh-wedel.de> References: <20060530152406.GA15284@wohnheim.fh-wedel.de> <1149003621.2885.185.camel@hades.cambridge.redhat.com> <20060530155001.GA26220@wohnheim.fh-wedel.de> <1149004893.32620.6.camel@sauron.oktetlabs.ru> <20060530161035.GC26220@wohnheim.fh-wedel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: linux-mtd@lists.infradead.org, David Woodhouse Subject: Re: [PATCH,RFC] [MTD] replace MTD_NORFLASH with MTD_GENERIC_TYPE List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 30 May 2006 12:32:58 -0400, Nicolas Pitre wrote: > > I'm firmly with you and so far I agree 100% with your effort. The > cleanups you're providing are much appreciated. > > However Artem might have a point. You probably should leave mtd->type > alone, at least for now. It is good to not depend on it anymore but it > probably still has its informative value, just like name string attached > to MTD partitions. If it should go then it should be removed at the > very end when no one uses it anymore. In a way, that is what I do. mtd->type still exists, although only for those types that are still used. MTD_RAM and MTD_ROM have been converted to MTD_GENERIC_TYPE. In part, that helps me to easily see how far I've come with a simple grep. And in part it prevents others from reintroducing new dependencies. My plan is to remove mtd->type completely when every device is of type MTD_GENERIC_TYPE. But if there is a general consensus, I can leave that field alone for now and hope that people don't introduce new dependencies. Jörn -- It's just what we asked for, but not what we want! -- anonymous