summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/htu21.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:25:58 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:30:20 +0100
commit13a8c6c2a1138309dcf7744cb4db7aea54d8085a (patch)
tree8d8e99f4e02c475ac3e62bb8848f5ea248ec6a25 /drivers/iio/humidity/htu21.c
parent73bba67096986c9fa5eb62811b09ac9b22876d2c (diff)
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/htu21.c')
-rw-r--r--drivers/iio/humidity/htu21.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/humidity/htu21.c b/drivers/iio/humidity/htu21.c
index 2c4b9be85a05..f5a2701ba6dd 100644
--- a/drivers/iio/humidity/htu21.c
+++ b/drivers/iio/humidity/htu21.c
@@ -175,7 +175,6 @@ static const struct iio_info htu21_info = {
.read_raw = htu21_read_raw,
.write_raw = htu21_write_raw,
.attrs = &htu21_attribute_group,
- .driver_module = THIS_MODULE,
};
static int htu21_probe(struct i2c_client *client,