diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:50 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:25:20 +0200 |
commit | 254f3a6364c53b3859954971262e3bd528b84444 (patch) | |
tree | fbc554608ac1b17703eccd2c09234d3c6368da4b /drivers/iio/chemical/atlas-ph-sensor.c | |
parent | iio:amplifiers:ad8366 drop assign iio_info.driver_module and iio_trigger_ops.... (diff) | |
download | linux-254f3a6364c53b3859954971262e3bd528b84444.tar.xz linux-254f3a6364c53b3859954971262e3bd528b84444.zip |
iio:chemical: drop assign iio_info.driver_module and iio_trigger_ops.owner
The equivalent of both of these are now done via macro magic when
the relevant register calls are made. The actual structure
elements will shortly go away.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/chemical/atlas-ph-sensor.c')
-rw-r--r-- | drivers/iio/chemical/atlas-ph-sensor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/chemical/atlas-ph-sensor.c b/drivers/iio/chemical/atlas-ph-sensor.c index ef761a508630..8c4e05580091 100644 --- a/drivers/iio/chemical/atlas-ph-sensor.c +++ b/drivers/iio/chemical/atlas-ph-sensor.c @@ -344,7 +344,6 @@ static int atlas_buffer_predisable(struct iio_dev *indio_dev) } static const struct iio_trigger_ops atlas_interrupt_trigger_ops = { - .owner = THIS_MODULE, }; static const struct iio_buffer_setup_ops atlas_buffer_setup_ops = { @@ -499,7 +498,6 @@ static int atlas_write_raw(struct iio_dev *indio_dev, } static const struct iio_info atlas_info = { - .driver_module = THIS_MODULE, .read_raw = atlas_read_raw, .write_raw = atlas_write_raw, }; |