spi: sirf: fix error return code in spi_sirfsoc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 23 Aug 2013 00:33:39 +0000 (08:33 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 23 Aug 2013 09:36:58 +0000 (10:36 +0100)
commit6cca9e2dd01adfa46a3b81f54f80d318714da418
treee6a942217229c8edb4f37176f48043e4b735d546
parent2479790b2970ee386174431af2ad9c948b328b95
spi: sirf: fix error return code in spi_sirfsoc_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sirf.c