diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 19:26:03 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 23:34:10 +0300 |
commit | 6d9d020da55dfb1780ba787924f4cd92c69105f5 (patch) | |
tree | 77757a44a21471854f3cc75f613443e015842123 /drivers/iio/potentiometer/tpl0102.c | |
parent | 1b449a72580e8c97ae0cef3efcfa18e9ca438693 (diff) | |
download | linux-6d9d020da55dfb1780ba787924f4cd92c69105f5.tar.xz |
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.c | 1 |
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, |