staging: iio: Add notrigger mode for generic_buffer
authorKarol Wrona <k.wrona@samsung.com>
Tue, 4 Nov 2014 14:29:39 +0000 (15:29 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 14:45:18 +0000 (14:45 +0000)
commitb6d5be57024a8edcc91d0c2549d63c68d67a2257
treec45a938861a639ab8dbfbfa2b1b88dd29a6a5637
parent455f0049e0c02ee0a769d967b1eba2c52e932237
staging: iio: Add notrigger mode for generic_buffer

Some IIO devices do not use the triggers. This patch makes trigger setting
conditional so generic_buffer can be used when triggers are disabled.

Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/generic_buffer.c