spi: omap2-mcspi: Remove redundant return value check of platform_get_resource()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 22 Oct 2016 14:33:17 +0000 (14:33 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 15:08:30 +0000 (16:08 +0100)
commit2e9c079cccedbe0d47265ca0c8121c8c66ebb241
tree5ff9280f4cc70f5317bbd975c0f1bd6b72460a61
parentaf9e53fef7015e1e4fe3f32b35e839df392bf4d6
spi: omap2-mcspi: 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 <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c