]> 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)
commit97fded70c49be78d07c03937038f69c3f46191e6
treeb4732099c4f2b1e54e02365b98cf9a6a6111b654
parentc0b396c5f1f9dcc7c9d4739011ffdead71ab1f39
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