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 <jic23@xxxxxxxxxx> --- include/linux/iio/iio.h | 3 --- include/linux/iio/trigger.h | 1 - 2 files changed, 4 deletions(-) diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index f65391067089..02c2a78ada5a 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -363,8 +363,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. @@ -419,7 +417,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; diff --git a/include/linux/iio/trigger.h b/include/linux/iio/trigger.h index 2e1800ad265b..ff2b7c7a9652 100644 --- a/include/linux/iio/trigger.h +++ b/include/linux/iio/trigger.h @@ -34,7 +34,6 @@ struct iio_trigger; * instances of a given device. **/ struct iio_trigger_ops { - struct module *owner; int (*set_trigger_state)(struct iio_trigger *trig, bool state); int (*try_reenable)(struct iio_trigger *trig); int (*validate_device)(struct iio_trigger *trig, -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html