commit | 00d09891eb947f8c4a7cb4d16bf3de305a65de77 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Wed Feb 12 11:34:37 2014 +0900 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Mar 25 23:21:15 2014 -0700 |
tree | b4e5553a9979481d00a61c7c437279709eb5312c | |
parent | 7995204e3c89820c4621af90b0e5f9ca0b375471 [diff] |
mtd: omap2: Use devm_ioremap_resource() Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Also, 'unsigned long mem_size' is removed from 'struct omap_nand_info', because the 'mem_size' variable is not necessary anymore. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>