summaryrefslogtreecommitdiff
path: root/include/linux/iio/iio.h
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-06-30 07:57:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-07 22:24:06 +0300
commit6a8c6b26f7531a85803380911c7c4a05a639afbe (patch)
tree3c7894d048f5ae5319cc514d4b1ef2cab4f1d858 /include/linux/iio/iio.h
parent207c2d27a010c0154691833960756b60816fe59d (diff)
downloadlinux-6a8c6b26f7531a85803380911c7c4a05a639afbe.tar.xz
iio: core: move iio_dev's buffer_list to the private iio device object
This change moves the 'buffer_list' away from the public IIO device object into the private part. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio/iio.h')
-rw-r--r--include/linux/iio/iio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index 61c4bf9c03ec..a0110b1e29fe 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -490,7 +490,6 @@ struct iio_buffer_setup_ops {
* and owner
* @event_interface: [INTERN] event chrdevs associated with interrupt lines
* @buffer: [DRIVER] any buffer present
- * @buffer_list: [INTERN] list of all buffers currently attached
* @scan_bytes: [INTERN] num bytes captured to be fed to buffer demux
* @mlock: [INTERN] lock used to prevent simultaneous device state
* changes
@@ -531,7 +530,6 @@ struct iio_dev {
struct iio_event_interface *event_interface;
struct iio_buffer *buffer;
- struct list_head buffer_list;
int scan_bytes;
struct mutex mlock;