summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/ms5611_core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:05 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:35:27 +0100
commit6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (patch)
treeeec7d3e0a057d463e3c4af212b642584d482afa5 /drivers/iio/pressure/ms5611_core.c
parentc64fdf0fe943bedfa8f6de07aec907b15436a5be (diff)
iio:pressure: 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/pressure/ms5611_core.c')
-rw-r--r--drivers/iio/pressure/ms5611_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/ms5611_core.c b/drivers/iio/pressure/ms5611_core.c
index 2a77a2f15752..f950cfde5db9 100644
--- a/drivers/iio/pressure/ms5611_core.c
+++ b/drivers/iio/pressure/ms5611_core.c
@@ -384,7 +384,6 @@ static const struct iio_info ms5611_info = {
.read_raw = &ms5611_read_raw,
.write_raw = &ms5611_write_raw,
.attrs = &ms5611_attribute_group,
- .driver_module = THIS_MODULE,
};
static int ms5611_init(struct iio_dev *indio_dev)