forked from Minki/linux
94edaac707
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> |
||
---|---|---|
.. | ||
bmi160_core.c | ||
bmi160_i2c.c | ||
bmi160_spi.c | ||
bmi160.h | ||
Kconfig | ||
Makefile |