diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-11 09:32:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-09-18 18:43:33 (GMT) |
commit | 40e23ced937aab63b6191ce0e8083bfe09847423 (patch) | |
tree | 9a825f8eacdfc6233badf051bc00f45f94d7d350 /lib/locking-selftest.c | |
parent | 575a6c90c190efabc829a8a9109f5036edaf1a82 (diff) | |
download | linux-fsl-qoriq-40e23ced937aab63b6191ce0e8083bfe09847423.tar.xz |
staging: iio: ade7854-spi: Fix return value
ade7854_probe can fail. Return the value obtained from it
instead of 0 (success).
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Barry Song <21cnbao@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions