iio: accel: kxsd9: Split out transport mechanism
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Sep 2016 09:44:36 +0000 (11:44 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 18 Sep 2016 09:49:46 +0000 (10:49 +0100)
commit9f9079720a4b802555ffc6f71ce3dd8adfd78f60
tree5aabc50336600dcb0ded0ea47697f721a5806bc7
parent6841b2a0fccf930e80e0c7d7f1bd8d78d21cd0fa
iio: accel: kxsd9: Split out transport mechanism

Split off a transport mechanism struct that will deal with the SPI
traffic in preparation for adding I2C support.

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