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

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

Also as part of the conversion drop scan_timestamp being enabled by default,
since it is a left over of an earlier cleanup.

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/ad799x.h
drivers/staging/iio/adc/ad799x_core.c
drivers/staging/iio/adc/ad799x_ring.c