iio:adc:at91: Use new triggered buffer setup helper
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 18 Jun 2012 16:33:49 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:26:09 +0000 (17:26 -0700)
commit90032e4e9cc40e2933259190b670d70ddd149e68
tree92bd743b87aa7d722eba306790155143e08fa129
parent23f2d735a932c7833d2d00da5e3ecdf4a6836210
iio:adc:at91: Use new triggered buffer setup helper

Use the new triggered buffer setup helper function to allocate and register
buffer and pollfunc.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/at91_adc.c