diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-12 06:29:42 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-26 10:21:08 +0400 |
commit | 7995204e3c89820c4621af90b0e5f9ca0b375471 (patch) | |
tree | 2c9d2f575222d47483fd0032bdbb47b40bdb2eb0 /drivers/mtd/nand/omap2.c | |
parent | c7ea95a377921efd0f0fa3e64852f5cc3d7ffc47 (diff) | |
download | linux-7995204e3c89820c4621af90b0e5f9ca0b375471.tar.xz |
mtd: denali_dt: 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_byname() because the value is
checked by devm_ioremap_resource().
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Tested-by: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
0 files changed, 0 insertions, 0 deletions