]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
spi: omap2-mcspi: fix error return code in omap2_mcspi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Apr 2013 03:14:59 +0000 (11:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 11:04:55 +0000 (12:04 +0100)
commit142e07beabfa8850e9e433b986e217fb596b9774
tree6a83b334b515fb1f6cf914999120290f9b641194
parent00ab5392cbc3f87ddfeada311e22f55dfb0bc5c6
spi: omap2-mcspi: fix error return code in omap2_mcspi_probe()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c