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>
This commit is contained in:
Lars-Peter Clausen 2013-10-14 17:49:00 +01:00 committed by Jonathan Cameron
parent 1e61fb7b19
commit 77e587f676
1 changed files with 0 additions and 1 deletions

View File

@ -382,7 +382,6 @@ static int lis3l02dq_buffer_predisable(struct iio_dev *indio_dev)
} }
static const struct iio_buffer_setup_ops lis3l02dq_buffer_setup_ops = { static const struct iio_buffer_setup_ops lis3l02dq_buffer_setup_ops = {
.preenable = &iio_sw_buffer_preenable,
.postenable = &lis3l02dq_buffer_postenable, .postenable = &lis3l02dq_buffer_postenable,
.predisable = &lis3l02dq_buffer_predisable, .predisable = &lis3l02dq_buffer_predisable,
}; };