aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kelly <[email protected]>2019-02-02 13:56:01 -0800
committerJonathan Cameron <[email protected]>2019-02-09 15:25:25 +0000
commit94edaac707e2882513b8b8b83482e4cba77863e7 (patch)
treee6103820cb7a2e99247893329b4821af46577613 /tools/perf/scripts/python
parent0a3f50e4d698e3d46ce10171dcd076c927bb60a8 (diff)
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions