diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-30 05:20:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-11-02 12:07:54 (GMT) |
commit | 00582bf8e7ed30aadbd935e430143fa18f316f8d (patch) | |
tree | d45be8b365c6c538f74764fe8bf2f430e3d17090 /lib/proportions.c | |
parent | ed5d6ca0038f274aada1244358ad89b7941bdcbf (diff) | |
download | linux-fsl-qoriq-00582bf8e7ed30aadbd935e430143fa18f316f8d.tar.xz |
iio: at91: fix error return code in at91_adc_probe()
Fix to return -ENODEV instead of 0 if non-TSMR adc don't
support, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions