kernel_optimize_test/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
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
adis.c iio:imu:adis: Mark expected switch fall-throughs 2018-07-07 18:01:05 +01:00
adis16400_buffer.c
adis16400_core.c
adis16400.h
adis16480.c imu:adis16480: fix debugfs_simple_attr.cocci warnings 2018-01-08 16:03:44 +01:00
Kconfig
kmx61.c
Makefile