]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:iio:adis_lib: Use triggered buffer setup helper function
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 13 Nov 2012 13:28:00 +0000 (13:28 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Nov 2012 22:22:10 +0000 (22:22 +0000)
commita458c55c107c5e467ab5b7e471f77ec5868afcb9
treeb4732099c4f2b1e54e02365b98cf9a6a6111b654
parent9d5e9fdf0f8846e014125f8e57fe5f3e03c8839f
staging:iio:adis_lib: Use triggered buffer setup helper function

Use the triggered buffer helper functions to setup and tear down the buffer for
the adis library 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/Kconfig
drivers/staging/iio/imu/adis_buffer.c