summaryrefslogtreecommitdiff
path: root/drivers/iio/counter
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:25:52 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:26:11 +0100
commitd5b531a8bc108c1120d4bbe56fb5a691ed56d775 (patch)
tree0d103f6462c09e92e6da69305d6973c1da0c4733 /drivers/iio/counter
parentd177f6af48e494143e374bbc91bad922442a28d2 (diff)
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
};