summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-17 15:22:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-27 09:47:37 -0700
commitebd052e9a258109df95e2222aedf10ead98f02df (patch)
treedbb31d1c2c4f4ec86b38a683d54ca287009835c9 /drivers/powercap
parent601818bdd4b0cef2e578030b09fb9ad632a4c7b6 (diff)
downloadlinux-stable-ebd052e9a258109df95e2222aedf10ead98f02df.tar.gz
linux-stable-ebd052e9a258109df95e2222aedf10ead98f02df.tar.bz2
linux-stable-ebd052e9a258109df95e2222aedf10ead98f02df.zip
iio: accel: kxsd9: fix the usage of spi_w8r8()
commit 0c1f91b98552da49d9d8eed32b3132a58d2f4598 upstream. 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> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions