aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Kelly <martin@martingkelly.com>2019-02-02 13:56:01 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-02-09 15:25:25 +0000
commit94edaac707e2882513b8b8b83482e4cba77863e7 (patch)
treee6103820cb7a2e99247893329b4821af46577613 /tools/perf/scripts/python/export-to-postgresql.py
parentiio:bmi160: use iio_pollfunc_store_time (diff)
downloadlinux-94edaac707e2882513b8b8b83482e4cba77863e7.tar.gz
linux-94edaac707e2882513b8b8b83482e4cba77863e7.zip
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions