]> Pileus Git - ~andy/linux/commitdiff
staging:iio:lis3l02dq: Remove redundant call to iio_sw_buffer_preenable().
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 14 Oct 2013 16:49:00 +0000 (17:49 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 16 Oct 2013 18:13:57 +0000 (19:13 +0100)
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>
drivers/staging/iio/accel/lis3l02dq_ring.c

index 2d559ba353d218380cc74ce195b8d151a400d89d..79cefe0a516a7316269546a36c2eec1fb3648556 100644 (file)
@@ -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,
 };