diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:12 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:14:55 +0100 |
commit | 9a32d303e03c51c313f6ec469eb7b8f1707665c5 (patch) | |
tree | c7f91c781a1292babc678a97453c48985fd0de5e /drivers/staging/iio | |
parent | 6ff33cb3ce00feeb7a5d0536967955e87b9fa884 (diff) | |
download | linux-stable-9a32d303e03c51c313f6ec469eb7b8f1707665c5.tar.gz linux-stable-9a32d303e03c51c313f6ec469eb7b8f1707665c5.tar.bz2 linux-stable-9a32d303e03c51c313f6ec469eb7b8f1707665c5.zip |
staging:iio:frequency: 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/staging/iio')
-rw-r--r-- | drivers/staging/iio/frequency/ad9832.c | 1 | ||||
-rw-r--r-- | drivers/staging/iio/frequency/ad9834.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/frequency/ad9832.c b/drivers/staging/iio/frequency/ad9832.c index 6da46ede7ee0..c73eff1f8d73 100644 --- a/drivers/staging/iio/frequency/ad9832.c +++ b/drivers/staging/iio/frequency/ad9832.c @@ -290,7 +290,6 @@ static const struct attribute_group ad9832_attribute_group = { static const struct iio_info ad9832_info = { .attrs = &ad9832_attribute_group, - .driver_module = THIS_MODULE, }; static int ad9832_probe(struct spi_device *spi) diff --git a/drivers/staging/iio/frequency/ad9834.c b/drivers/staging/iio/frequency/ad9834.c index 995acdd7c942..4c6d4043903e 100644 --- a/drivers/staging/iio/frequency/ad9834.c +++ b/drivers/staging/iio/frequency/ad9834.c @@ -381,12 +381,10 @@ static const struct attribute_group ad9833_attribute_group = { static const struct iio_info ad9834_info = { .attrs = &ad9834_attribute_group, - .driver_module = THIS_MODULE, }; static const struct iio_info ad9833_info = { .attrs = &ad9833_attribute_group, - .driver_module = THIS_MODULE, }; static int ad9834_probe(struct spi_device *spi) |