linux/drivers/iio/imu
Martin Kelly 94edaac707 iio:bmi160: use if (ret) instead of if (ret < 0)
We are using "if (ret < 0)" in many places in which the function returns 0
on success. Use "if (ret)" instead for better clarity and correctness.

Signed-off-by: Martin Kelly <martin@martingkelly.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-02-09 15:25:25 +00:00
..
bmi160 iio:bmi160: use if (ret) instead of if (ret < 0) 2019-02-09 15:25:25 +00:00
inv_mpu6050 First set of new device support, features and cleanup for IIO in the 5.1 cycle 2019-02-04 07:06:36 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: remove set but not used variable '' 2018-12-22 16:58:14 +00:00
Kconfig iio: imu: add support to lsm6dsx driver 2017-01-14 12:40:37 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis.c iio:imu:adis: Mark expected switch fall-throughs 2018-07-07 18:01:05 +01:00
adis16400.h iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_buffer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis16400_core.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
adis16480.c imu:adis16480: fix debugfs_simple_attr.cocci warnings 2018-01-08 16:03:44 +01:00
adis_buffer.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
adis_trigger.c iio: adis_lib: Initialize trigger before requesting interrupt 2018-02-17 14:16:35 +00:00
kmx61.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00