diff options
author | Jonathan Cameron | 2017-07-23 18:26:21 +0200 |
---|---|---|
committer | Jonathan Cameron | 2017-09-03 19:10:24 +0200 |
commit | 97623c0a80a605ef3fae337081ed008796bf8cc2 (patch) | |
tree | fa5f13d907e60ed4302168800e45f8d3514d9981 /include/linux/iio/iio.h | |
parent | iio: multiplexer: drop the manual assignment of THIS_MODULE (diff) | |
download | kernel-qcow2-linux-97623c0a80a605ef3fae337081ed008796bf8cc2.tar.gz kernel-qcow2-linux-97623c0a80a605ef3fae337081ed008796bf8cc2.tar.xz kernel-qcow2-linux-97623c0a80a605ef3fae337081ed008796bf8cc2.zip |
iio: drop iio_info.driver_module and iio_trigger_ops.owner.
The equivalents are now assigned automatically in the relevant
registration calls and so are not needed in these operations
structures.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'include/linux/iio/iio.h')
-rw-r--r-- | include/linux/iio/iio.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 97a014300947..486ffbb1a926 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -369,8 +369,6 @@ struct iio_dev; /** * struct iio_info - constant information about device - * @driver_module: module structure used to ensure correct - * ownership of chrdevs etc * @event_attrs: event control attributes * @attrs: general purpose device attributes * @read_raw: function to request a value from the device. @@ -425,7 +423,6 @@ struct iio_dev; * were flushed and there was an error. **/ struct iio_info { - struct module *driver_module; const struct attribute_group *event_attrs; const struct attribute_group *attrs; |