summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/ams-iaq-core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:25:50 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 23:25:20 +0300
commit254f3a6364c53b3859954971262e3bd528b84444 (patch)
treefbc554608ac1b17703eccd2c09234d3c6368da4b /drivers/iio/chemical/ams-iaq-core.c
parent727929797f71b6cc32c685a27ff3189740af09dc (diff)
downloadlinux-254f3a6364c53b3859954971262e3bd528b84444.tar.xz
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/ams-iaq-core.c')
-rw-r--r--drivers/iio/chemical/ams-iaq-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/chemical/ams-iaq-core.c b/drivers/iio/chemical/ams-iaq-core.c
index c948ad2ee9ad..d9e5950ad24a 100644
--- a/drivers/iio/chemical/ams-iaq-core.c
+++ b/drivers/iio/chemical/ams-iaq-core.c
@@ -141,7 +141,6 @@ err_out:
static const struct iio_info ams_iaqcore_info = {
.read_raw = ams_iaqcore_read_raw,
- .driver_module = THIS_MODULE,
};
static int ams_iaqcore_probe(struct i2c_client *client,