staging:iio:adc:ad7887: Use new triggered buffer setup helper function
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 18 Jun 2012 16:33:55 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:26:10 +0000 (17:26 -0700)
commitcc4dd03a6a9535cb2f731c5069e6a02781e3267a
tree15ff28f22b5153057c9d39d0d94f01d4f7fd7179
parent82796edca9ba014aa09cc158240c23b5b3f9326d
staging:iio:adc:ad7887: 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/ad7887_core.c
drivers/staging/iio/adc/ad7887_ring.c