mirror of https://gitee.com/openkylin/linux.git
28ff344e1d
This fixes parts of kmx61 error handling to make code easier to read and to be more consistent with IIO coding conventions: * prefer as single point for error handling instead of duplicating code for each function * directly return a value from a case branch instead of breaking * fix error message for writing REG_CTRL1 Also, add separate error paths for kmx61_trigger_setup/iio_triggered_buffer_setup calls. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
inv_mpu6050 | ||
Kconfig | ||
Makefile | ||
adis.c | ||
adis16400.h | ||
adis16400_buffer.c | ||
adis16400_core.c | ||
adis16480.c | ||
adis_buffer.c | ||
adis_trigger.c | ||
kmx61.c |