diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-04-21 10:09:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-24 11:23:38 -0700 |
commit | c562ccbf584f8017a153bbd5c1039a189e1f8be8 (patch) | |
tree | 20a08f1462383d7caccdf689236a347a551e8ee7 /drivers/staging/iio/adc/ad7887_ring.c | |
parent | c1633187829aa11a475ab6e453f05d3f6a172aff (diff) | |
download | op-kernel-dev-c562ccbf584f8017a153bbd5c1039a189e1f8be8.zip op-kernel-dev-c562ccbf584f8017a153bbd5c1039a189e1f8be8.tar.gz |
staging:iio:meter:ad7758 use iio_sw_buffer_preenable to avoid code repition
Using this generic function adds a little overhead to a slow path but
reduces the amount of code repitition in exchange.
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>
Diffstat (limited to 'drivers/staging/iio/adc/ad7887_ring.c')
0 files changed, 0 insertions, 0 deletions