diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-17 15:22:24 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-26 17:32:19 +0100 |
commit | 0c1f91b98552da49d9d8eed32b3132a58d2f4598 (patch) | |
tree | 5151324158524f09fed55cacca982cec037de019 /Documentation | |
parent | ef3149eb3ddb7f9125e11c90f8330e371b55cffd (diff) |
iio: accel: kxsd9: fix the usage of spi_w8r8()
These two spi_w8r8() calls return a value with is used by the code
following the error check. The dubious use was caused by a cleanup
patch.
Fixes: d34dbee8ac8e ("staging:iio:accel:kxsd9 cleanup and conversion to iio_chan_spec.")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions