瀏覽代碼

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>
Lars-Peter Clausen 12 年之前
父節點
當前提交
77e587f676
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/staging/iio/accel/lis3l02dq_ring.c

+ 0 - 1
drivers/staging/iio/accel/lis3l02dq_ring.c

@@ -382,7 +382,6 @@ error_ret:
 }
 }
 
 
 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,
 };
 };