aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/iio/buffer.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-10-14 12:49:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-10-16 14:17:06 -0400
commitbf741c08af194ed0448799ff2690c8dd3da709e5 (patch)
treee4cd8c2764d9f201a00024bbe42d78a281eb29ab /include/linux/iio/buffer.h
parent889a62ba6d9796269b22e9d0f630fdaffa6e2630 (diff)
iio: Remove unused iio_sw_buffer_preenable()
The functionality implemented by iio_sw_buffer_preenable() is now done directly in the IIO core and previous users of iio_sw_buffer_preenable() have all been updated to not use it anymore. It is unused now and can be remove. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/buffer.h')
-rw-r--r--include/linux/iio/buffer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h
index 6e428d96d570..15607b45221a 100644
--- a/include/linux/iio/buffer.h
+++ b/include/linux/iio/buffer.h
@@ -206,8 +206,6 @@ ssize_t iio_buffer_show_enable(struct device *dev,
206 iio_buffer_show_enable, \ 206 iio_buffer_show_enable, \
207 iio_buffer_store_enable) 207 iio_buffer_store_enable)
208 208
209int iio_sw_buffer_preenable(struct iio_dev *indio_dev);
210
211bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev, 209bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev,
212 const unsigned long *mask); 210 const unsigned long *mask);
213 211