]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 22 Nov 2013 22:13:06 +0000 (14:13 -0800)
commit20d9ab5e8b53108b95f1e87f5950ada8590404f1
tree72460becd3c71e7d351ecb75f7c8d438d3a964da
parent8340070ffa9bdbae48614267bd7e8118dc9335a0
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