staging:iio:adc:ad7476 use iio_sw_buffer_preenable instead of local version.
authorJonathan Cameron <jic23@kernel.org>
Sat, 21 Apr 2012 09:09:38 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:23:37 +0000 (11:23 -0700)
commit46df6378c8484eb3ae054938ffb17c2bea691f7b
treeded1e2cb999876e22989a3fca80eb3751ba6db7a
parent8f03aabc0fbaa795ed6253010b27065fa4159825
staging:iio:adc:ad7476 use iio_sw_buffer_preenable instead of local version.

Now the generic version caches the scan size the version in this driver
is redundant.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7476.h
drivers/staging/iio/adc/ad7476_ring.c