[PATCH v6 8/8] MTD: physmap: let set_vpp() pass a platform_device instead of a map_info
From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2011-05-19 11:17:38
From: dedekind1@gmail.com (Artem Bityutskiy)
Date: 2011-05-19 11:17:38
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 <redacted> Cc: Nicolas Ferre <redacted> Cc: Jean-Christophe Plagniol-Villard <redacted> Cc: Russell King <redacted> Cc: Philipp Zabel <redacted> Cc: Eric Miao <redacted> Cc: Ben Dooks <ben-linux@fluff.org> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Marc Zyngier <redacted>
Acked-by: Artem Bityutskiy <redacted> -- Best Regards, Artem Bityutskiy (????? ????????)