spi: nuc900: remove redundant return value check of platform_get_resource()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 20 Dec 2013 02:21:54 +0000 (10:21 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 20 Dec 2013 12:34:44 +0000 (12:34 +0000)
commitfe2ece4a933138bb1dcb66e9669a48e7c9215717
tree5359dbe9b242891a79b77341f77160c9c4eac7a4
parent7519459da294680bbab1bd20a4e378d83a1c6d45
spi: nuc900: 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-nuc900.c