iio: dac: ad7303: fix error return code in ad7303_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 18 Jun 2013 13:08:00 +0000 (14:08 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 29 Jun 2013 09:18:21 +0000 (10:18 +0100)
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>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found