diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:25:49 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:24:50 +0200 |
commit | 727929797f71b6cc32c685a27ff3189740af09dc (patch) | |
tree | 1204526989d07593cf35d92a709989e819a7f339 | |
parent | iio:accel: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff) | |
download | linux-727929797f71b6cc32c685a27ff3189740af09dc.tar.xz linux-727929797f71b6cc32c685a27ff3189740af09dc.zip |
iio:amplifiers:ad8366 drop assign iio_info.driver_module and iio_trigger_ops.owner
The equivalent of both of these are now done via macro magic when
the relevant register calls are 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>
-rw-r--r-- | drivers/iio/amplifiers/ad8366.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/amplifiers/ad8366.c b/drivers/iio/amplifiers/ad8366.c index 102c7174da5b..43667866321e 100644 --- a/drivers/iio/amplifiers/ad8366.c +++ b/drivers/iio/amplifiers/ad8366.c @@ -117,7 +117,6 @@ static int ad8366_write_raw(struct iio_dev *indio_dev, static const struct iio_info ad8366_info = { .read_raw = &ad8366_read_raw, .write_raw = &ad8366_write_raw, - .driver_module = THIS_MODULE, }; #define AD8366_CHAN(_channel) { \ |