summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/hts221_buffer.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:25:58 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 23:30:20 +0300
commit13a8c6c2a1138309dcf7744cb4db7aea54d8085a (patch)
tree8d8e99f4e02c475ac3e62bb8848f5ea248ec6a25 /drivers/iio/humidity/hts221_buffer.c
parent73bba67096986c9fa5eb62811b09ac9b22876d2c (diff)
downloadlinux-13a8c6c2a1138309dcf7744cb4db7aea54d8085a.tar.xz
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/hts221_buffer.c')
-rw-r--r--drivers/iio/humidity/hts221_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/humidity/hts221_buffer.c b/drivers/iio/humidity/hts221_buffer.c
index 9690dfe9a844..e971ea425268 100644
--- a/drivers/iio/humidity/hts221_buffer.c
+++ b/drivers/iio/humidity/hts221_buffer.c
@@ -47,7 +47,6 @@ static int hts221_trig_set_state(struct iio_trigger *trig, bool state)
}
static const struct iio_trigger_ops hts221_trigger_ops = {
- .owner = THIS_MODULE,
.set_trigger_state = hts221_trig_set_state,
};