staging:iio:accel:sca3000: Fix off by one error in axis due to IIO_NO_MOD
authorJonathan Cameron <jic23@kernel.org>
Sat, 8 Oct 2016 16:39:11 +0000 (17:39 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:34:03 +0000 (19:34 +0100)
commit74bdc940757608876a77cc0cdc2877b66e5dd47d
treeefeafa09cbd8a954cce9397ab8e2cc11f1be2240
parent085fe1b2e3df91a085d15a0bdc3f03cef6a42dab
staging:iio:accel:sca3000: Fix off by one error in axis due to IIO_NO_MOD

Given the introduction of IIO_NO_MOD was prior to the first submission
prior to IIO entering staging this has been broken for a while.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/staging/iio/accel/sca3000.c