summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5624r_spi.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 18:25:53 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 22:26:54 +0200
commitea9e3f35886550af8a9bdbd60f244cfaceffc523 (patch)
treede316c7b045eba331b34d3a746c866aed8ab6ae6 /drivers/iio/dac/ad5624r_spi.c
parentiio:counter:104-quad-8 drop assign iio_info.driver_module (diff)
downloadlinux-ea9e3f35886550af8a9bdbd60f244cfaceffc523.tar.xz
linux-ea9e3f35886550af8a9bdbd60f244cfaceffc523.zip
iio:dac: drop assignment of iio_info.driver_module
The equivalent of this 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/dac/ad5624r_spi.c')
-rw-r--r--drivers/iio/dac/ad5624r_spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5624r_spi.c b/drivers/iio/dac/ad5624r_spi.c
index 5489ec43b95d..13fdb4dfe356 100644
--- a/drivers/iio/dac/ad5624r_spi.c
+++ b/drivers/iio/dac/ad5624r_spi.c
@@ -149,7 +149,6 @@ static ssize_t ad5624r_write_dac_powerdown(struct iio_dev *indio_dev,
static const struct iio_info ad5624r_info = {
.write_raw = ad5624r_write_raw,
.read_raw = ad5624r_read_raw,
- .driver_module = THIS_MODULE,
};
static const struct iio_chan_spec_ext_info ad5624r_ext_info[] = {