summaryrefslogtreecommitdiffstats
path: root/drivers/iio/humidity/hdc100x.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 18:25:58 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 22:30:20 +0200
commit13a8c6c2a1138309dcf7744cb4db7aea54d8085a (patch)
tree8d8e99f4e02c475ac3e62bb8848f5ea248ec6a25 /drivers/iio/humidity/hdc100x.c
parentiio:health: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff)
downloadlinux-13a8c6c2a1138309dcf7744cb4db7aea54d8085a.tar.xz
linux-13a8c6c2a1138309dcf7744cb4db7aea54d8085a.zip
iio:humidity: 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/humidity/hdc100x.c')
-rw-r--r--drivers/iio/humidity/hdc100x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c
index 7851bd90ef64..d8438310b6d4 100644
--- a/drivers/iio/humidity/hdc100x.c
+++ b/drivers/iio/humidity/hdc100x.c
@@ -357,7 +357,6 @@ static const struct iio_info hdc100x_info = {
.read_raw = hdc100x_read_raw,
.write_raw = hdc100x_write_raw,
.attrs = &hdc100x_attribute_group,
- .driver_module = THIS_MODULE,
};
static int hdc100x_probe(struct i2c_client *client,