staging:iio:adis16400: Use triggered buffer setup helper function
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 16 Jan 2013 12:48:00 +0000 (12:48 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:07:48 +0000 (10:07 +0000)
commit1ffe2e7ac000b7a7c01b22cd64cc3d4ef01a9def
tree76b0468259a59e667e86d3a127cfaa1c02f72e93
parentcd888a17f95fb170f6463990a6a24b4cd5fedea6
staging:iio:adis16400: Use triggered buffer setup helper function

Use the triggered buffer helper functions to setup and tear down the buffer for
the adis16400 instead of doing this manually. This also means that we switch
away from the deprecated sw_ring buffer and use the kfifo buffer now instead.

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