summaryrefslogtreecommitdiff
path: root/drivers/iio/dummy
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:25:54 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 23:27:45 +0300
commit4403a39829e79e0b4701102fb724e80e895d51c5 (patch)
tree6abbb37cede15b0cda90672491cc66347dc1c8f3 /drivers/iio/dummy
parentea9e3f35886550af8a9bdbd60f244cfaceffc523 (diff)
downloadlinux-4403a39829e79e0b4701102fb724e80e895d51c5.tar.xz
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/dummy')
-rw-r--r--drivers/iio/dummy/iio_simple_dummy.c1
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