iio: accel: kxsd9: Do away with the write2 helper
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Sep 2016 09:44:39 +0000 (11:44 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 18 Sep 2016 10:27:18 +0000 (11:27 +0100)
commitab04f734b08a404550ba5f8391307bad2145acff
tree6b6879bd4c737206317fc649fc5fe5b22c9d200b
parentbf96f6e80cef4b9a234e8ce81aa2e333ca7ce599
iio: accel: kxsd9: Do away with the write2 helper

This is just a masquerading register write function, so use the
register write function instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxsd9-spi.c
drivers/iio/accel/kxsd9.c
drivers/iio/accel/kxsd9.h