diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:54 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:27:45 +0200 |
commit | 4403a39829e79e0b4701102fb724e80e895d51c5 (patch) | |
tree | 6abbb37cede15b0cda90672491cc66347dc1c8f3 /drivers/iio | |
parent | iio:dac: drop assignment of iio_info.driver_module (diff) | |
download | linux-4403a39829e79e0b4701102fb724e80e895d51c5.tar.xz linux-4403a39829e79e0b4701102fb724e80e895d51c5.zip |
iio:dummy: drop assignment of iio_info.driver_module
The equivalent is now done via macro magic when
the relevant register call is made. The actual structure
element 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')
-rw-r--r-- | drivers/iio/dummy/iio_simple_dummy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dummy/iio_simple_dummy.c b/drivers/iio/dummy/iio_simple_dummy.c index ad3410e528b6..a45d01e9b8e8 100644 --- a/drivers/iio/dummy/iio_simple_dummy.c +++ b/drivers/iio/dummy/iio_simple_dummy.c @@ -519,7 +519,6 @@ static int iio_dummy_write_raw(struct iio_dev *indio_dev, * Device type specific information. */ static const struct iio_info iio_dummy_info = { - .driver_module = THIS_MODULE, .read_raw = &iio_dummy_read_raw, .write_raw = &iio_dummy_write_raw, #ifdef CONFIG_IIO_SIMPLE_DUMMY_EVENTS |