spi: coldfire-qspi: remove redundant return value check of platform_get_resource()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 7 Dec 2013 06:00:40 +0000 (14:00 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 17:04:56 +0000 (17:04 +0000)
commitf885135ab6047dd159067d15c9a5de1a67de4e27
tree601bb3bb56eee0e178beef4916aa983f431f8974
parent9a3ced19d8da908234fe9879ee1c0609c8ed21e8
spi: coldfire-qspi: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-coldfire-qspi.c