mfd: ti_am335x_tscadc: Use devm_ioremap_resource()
authorJingoo Han <jg1.han@samsung.com>
Wed, 12 Feb 2014 05:31:49 +0000 (14:31 +0900)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:13 +0000 (08:58 +0000)
commit924ff918ad8c7e5665b05d9c7b258623c88d65c5
tree71dec6b0035696df513080423733b40cd4404c08
parentbcb5a7d335da73a798d8a8f6ce9a8605d25426f4
mfd: ti_am335x_tscadc: 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c