]> git.baikalelectronics.ru Git - kernel.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)
commit933785d66573b350fbb9037e15cd480042d14d0c
treeb4732099c4f2b1e54e02365b98cf9a6a6111b654
parent4d822008bf211eca2d0f08c5a128341b954b41f4
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