spi: spi-s3c24xx: remove redundant return value check of platform_get_resource()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 20 Dec 2013 02:22:20 +0000 (10:22 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 20 Dec 2013 11:56:30 +0000 (11:56 +0000)
commit8f51c8108267443865d8ec08403b66da9905ba14
tree28db52d15669168587acd016d703571b9eccf226
parentc9f722e879953f74d3e09023ba339c98d68f1998
spi: spi-s3c24xx: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-s3c24xx.c