commit | 0d8391f3d60f0b544951b4014f433b4c068da293 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Nov 10 22:30:18 2016 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Nov 12 14:35:21 2016 +0000 |
tree | 1904f769eb1df44685ec596fcc34eb4e1f64ef49 | |
parent | b548674ea78417a470a12416eebe016f93e460c0 [diff] |
iio:adc: ad7766: testing the wrong variable in probe We should be testing "ret" here. Fixes: aa16c6bd0e09 ("iio:adc: Add support for AD7766/AD7767") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>