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/ds1803.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/ds1803.c')
-rw-r--r-- | drivers/iio/potentiometer/ds1803.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c index fb9e2a337dc2..9b0ff4ab2f9c 100644 --- a/drivers/iio/potentiometer/ds1803.c +++ b/drivers/iio/potentiometer/ds1803.c @@ -110,7 +110,6 @@ static int ds1803_write_raw(struct iio_dev *indio_dev, static const struct iio_info ds1803_info = { .read_raw = ds1803_read_raw, .write_raw = ds1803_write_raw, - .driver_module = THIS_MODULE, }; static int ds1803_probe(struct i2c_client *client, |