diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-14 16:49:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-16 18:13:57 (GMT) |
commit | 77e587f67616219f7f94109afed4bf5bd2d01ad2 (patch) | |
tree | 369263a1ad3d75b9c0aa2d15f8ec351f1cc81475 /drivers/staging | |
parent | 1e61fb7b19df136dc9124b85da9a7bc0ec6cc351 (diff) | |
download | linux-77e587f67616219f7f94109afed4bf5bd2d01ad2.tar.xz |
staging:iio:lis3l02dq: Remove redundant call to iio_sw_buffer_preenable().
The equivalent of iio_sw_buffer_preenable() is now done in the IIO buffer core,
so there is no need to do this from the driver anymore.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/accel/lis3l02dq_ring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c index 2d559ba..79cefe0 100644 --- a/drivers/staging/iio/accel/lis3l02dq_ring.c +++ b/drivers/staging/iio/accel/lis3l02dq_ring.c @@ -382,7 +382,6 @@ error_ret: } static const struct iio_buffer_setup_ops lis3l02dq_buffer_setup_ops = { - .preenable = &iio_sw_buffer_preenable, .postenable = &lis3l02dq_buffer_postenable, .predisable = &lis3l02dq_buffer_predisable, }; |