mtd: gpmi: use devm_ioremap_resource
authorHuang Shijie <b32955@freescale.com>
Thu, 14 Nov 2013 06:25:48 +0000 (14:25 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:19 +0000 (11:22 -0800)
commit87a9d69892836fc9cf738fa8960a0c29cf8e3f16
tree639281924210038ba0644b9e4f070b192354c293
parentccce417734dd4eb1703483d419f7739133ca9f91
mtd: gpmi: use devm_ioremap_resource

Use the devm_ioremap_resource to simplify the code.

[Note: as a side effect, this adds a missing call to request_memory().]

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c