b70e19c222
We should be returning a negative error code instead of success here. This would have been detected by GCC, except that the "ret" variable was initialized with a bogus value to disable GCC's uninitialized variable warnings. I've cleaned that up, as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Stable@vger.kernel.org |
||
---|---|---|
.. | ||
Documentation | ||
accel | ||
adc | ||
addac | ||
cdc | ||
frequency | ||
gyro | ||
impedance-analyzer | ||
light | ||
magnetometer | ||
meter | ||
resolver | ||
trigger | ||
Kconfig | ||
Makefile | ||
TODO | ||
iio_dummy_evgen.c | ||
iio_dummy_evgen.h | ||
iio_simple_dummy.c | ||
iio_simple_dummy.h | ||
iio_simple_dummy_buffer.c | ||
iio_simple_dummy_events.c | ||
ring_hw.h |