kernel_optimize_test/drivers/iio/pressure
Sachin Kamat 6c3d8d4f05 iio: hid-sensor-press: Fix return values
IIO_CHAN_INFO_SAMP_FREQ and IIO_CHAN_INFO_HYSTERESIS cases ignored
the actual return values (which could be -EINVAL) and instead
returned IIO_VAL_INT_PLUS_MICRO always. Return the actual value
obtained from the functions. Both functions return IIO_VAL_INT_PLUS_MICRO
upon success.

Agreed with by Srinivas.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-07-05 11:01:32 +01:00
..
hid-sensor-press.c iio: hid-sensor-press: Fix return values 2014-07-05 11:01:32 +01:00
Kconfig
Makefile
mpl115.c
mpl3115.c
st_pressure_buffer.c
st_pressure_core.c
st_pressure_i2c.c
st_pressure_spi.c
st_pressure.h