diff options
author | Luis de Bethencourt <[email protected]> | 2016-06-22 20:43:30 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2016-06-26 15:57:02 +0100 |
commit | ef3149eb3ddb7f9125e11c90f8330e371b55cffd (patch) | |
tree | eec87d6d485fd16bf9b4bca1c55dfbb66c1eb0ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df013212a1b6557f071609983cab0612f71fd99b (diff) |
staging: iio: accel: fix error check
sca3000_read_ctrl_reg() returns a negative number on failure, check for
this instead of zero.
Signed-off-by: Luis de Bethencourt <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions