staging:iio:adc:ad7793: Use new triggered buffer setup helper function
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 18 Jun 2012 16:33:54 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:26:10 +0000 (17:26 -0700)
commit82796edca9ba014aa09cc158240c23b5b3f9326d
tree14034176461381c6104ee699b2ced727ce996942
parent74ed964931b1be634bce199ac854dc4ed76679b5
staging:iio:adc:ad7793: Use new triggered buffer setup helper function

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/adc/ad7793.c