mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
2479790b29
commit
6cca9e2dd0
1 changed files with 5 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue