spi: txx9: Use devm_ioremap_resource()
authorJingoo Han <jg1.han@samsung.com>
Wed, 26 Feb 2014 01:35:09 +0000 (10:35 +0900)
committerMark Brown <broonie@linaro.org>
Fri, 28 Feb 2014 06:17:52 +0000 (15:17 +0900)
commit7bdadd8d94a203c0bf02c0f128148e8be3e7f66a
tree628775161bc53a33acf0062f941e58ec8745e413
parent425f96d2f635d7a1a101c916830ba7843a6d5a50
spi: txx9: 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>
Reviewed-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-txx9.c