From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH v6 8/8] MTD: physmap: let set_vpp() pass a platform_device instead of a map_info From: Artem Bityutskiy To: Marc Zyngier In-Reply-To: <1305637877-24436-9-git-send-email-marc.zyngier@arm.com> References: <1305637877-24436-1-git-send-email-marc.zyngier@arm.com> <1305637877-24436-9-git-send-email-marc.zyngier@arm.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 19 May 2011 14:17:38 +0300 Message-ID: <1305803858.2630.67.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Eric Miao , Philipp Zabel , Jean-Christophe Plagniol-Villard , Nicolas Ferre , linux-mtd@lists.infradead.org, Ben Dooks , Russell King , David Woodhouse , Andrew Victor , linux-arm-kernel@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2011-05-17 at 14:11 +0100, Marc Zyngier wrote: > The set_vpp() method provided by physmap passes a map_info back to > the platform code, which has little relevance as far as the platform > is concerned (this parameter is completely unused). > > Instead, pass the platform_device, which can be used in the pismo > driver to retrieve some important information in a nicer way, instead > of the hack that was in place. > > The empty set_vpp function in board-at572d940hf_ek.c is left untouched, > as the board/SoC is scheduled for removal. > > Cc: Andrew Victor > Cc: Nicolas Ferre > Cc: Jean-Christophe Plagniol-Villard > Cc: Russell King > Cc: Philipp Zabel > Cc: Eric Miao > Cc: Ben Dooks > Cc: David Woodhouse > Signed-off-by: Marc Zyngier Acked-by: Artem Bityutskiy -- Best Regards, Artem Bityutskiy (Артём Битюцкий)