summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-06-22 20:43:30 +0100
committerJonathan Cameron <jic23@kernel.org>2016-06-26 15:57:02 +0100
commitef3149eb3ddb7f9125e11c90f8330e371b55cffd (patch)
treeeec87d6d485fd16bf9b4bca1c55dfbb66c1eb0ac /Documentation
parentdf013212a1b6557f071609983cab0612f71fd99b (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 <luisbg@osg.samsung.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions