ata: pata_samsung_cf: Use devm_ioremap_resource()
authorJingoo Han <jg1.han@samsung.com>
Thu, 2 Jan 2014 08:24:03 +0000 (17:24 +0900)
committerTejun Heo <tj@kernel.org>
Thu, 2 Jan 2014 12:48:33 +0000 (07:48 -0500)
commit3e692a942f6eb0ec0151449e6c5fb88ffc854b6d
treecb88e42ba0e6bce0650717acd34a7694e4b2f3ba
parent15e5318c9cb92dc49f1326bce44798575e3b5774
ata: pata_samsung_cf: 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().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_samsung_cf.c