diff options
author | 2016-06-22 20:43:30 +0100 | |
---|---|---|
committer | 2016-06-26 15:57:02 +0100 | |
commit | ef3149eb3ddb7f9125e11c90f8330e371b55cffd (patch) | |
tree | eec87d6d485fd16bf9b4bca1c55dfbb66c1eb0ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'iio-fixes-for-4.7b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus (diff) | |
download | wireguard-linux-ef3149eb3ddb7f9125e11c90f8330e371b55cffd.tar.xz wireguard-linux-ef3149eb3ddb7f9125e11c90f8330e371b55cffd.zip |
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 <luisbg@osg.samsung.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions