summaryrefslogtreecommitdiff
path: root/drivers/iio/potentiometer/tpl0102.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:34:10 +0100
commit6d9d020da55dfb1780ba787924f4cd92c69105f5 (patch)
tree77757a44a21471854f3cc75f613443e015842123 /drivers/iio/potentiometer/tpl0102.c
parent1b449a72580e8c97ae0cef3efcfa18e9ca438693 (diff)
iio:dpot: drop assign iio_info.driver_module
The equivalent of this is now done via macro magic when the relevant register call is 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/potentiometer/tpl0102.c')
-rw-r--r--drivers/iio/potentiometer/tpl0102.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/tpl0102.c b/drivers/iio/potentiometer/tpl0102.c
index 7b6b54531ea2..93f9d4a8c9aa 100644
--- a/drivers/iio/potentiometer/tpl0102.c
+++ b/drivers/iio/potentiometer/tpl0102.c
@@ -106,7 +106,6 @@ static int tpl0102_write_raw(struct iio_dev *indio_dev,
static const struct iio_info tpl0102_info = {
.read_raw = tpl0102_read_raw,
.write_raw = tpl0102_write_raw,
- .driver_module = THIS_MODULE,
};
static int tpl0102_probe(struct i2c_client *client,