linux_dsm_epyc7002/drivers/iio/imu/bmi160
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_core.c iio:bmi160: use if (ret) instead of if (ret < 0) 2019-02-09 15:25:25 +00:00
bmi160_i2c.c iio:bmi160: add SPDX identifiers 2019-02-09 14:48:33 +00:00
bmi160_spi.c iio:bmi160: add SPDX identifiers 2019-02-09 14:48:33 +00:00
bmi160.h iio:bmi160: add drdy interrupt support 2019-02-09 15:14:42 +00:00
Kconfig
Makefile