summaryrefslogtreecommitdiffstats
path: root/drivers/iio/counter
diff options
context:
space:
mode:
authorJonathan Cameron2017-07-23 18:25:52 +0200
committerJonathan Cameron2017-08-22 22:26:11 +0200
commitd5b531a8bc108c1120d4bbe56fb5a691ed56d775 (patch)
tree0d103f6462c09e92e6da69305d6973c1da0c4733 /drivers/iio/counter
parentiio:common: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff)
downloadkernel-qcow2-linux-d5b531a8bc108c1120d4bbe56fb5a691ed56d775.tar.gz
kernel-qcow2-linux-d5b531a8bc108c1120d4bbe56fb5a691ed56d775.tar.xz
kernel-qcow2-linux-d5b531a8bc108c1120d4bbe56fb5a691ed56d775.zip
iio:counter:104-quad-8 drop assign iio_info.driver_module
The equivalent is 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/counter')
-rw-r--r--drivers/iio/counter/104-quad-8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/counter/104-quad-8.c b/drivers/iio/counter/104-quad-8.c
index ba3d9030cd51..b56985078d8c 100644
--- a/drivers/iio/counter/104-quad-8.c
+++ b/drivers/iio/counter/104-quad-8.c
@@ -185,7 +185,6 @@ static int quad8_write_raw(struct iio_dev *indio_dev,
}
static const struct iio_info quad8_info = {
- .driver_module = THIS_MODULE,
.read_raw = quad8_read_raw,
.write_raw = quad8_write_raw
};