summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/stm32-dac.c
diff options
context:
space:
mode:
authorJonathan Cameron2017-07-23 18:25:53 +0200
committerJonathan Cameron2017-08-22 22:26:54 +0200
commitea9e3f35886550af8a9bdbd60f244cfaceffc523 (patch)
treede316c7b045eba331b34d3a746c866aed8ab6ae6 /drivers/iio/dac/stm32-dac.c
parentiio:counter:104-quad-8 drop assign iio_info.driver_module (diff)
downloadkernel-qcow2-linux-ea9e3f35886550af8a9bdbd60f244cfaceffc523.tar.gz
kernel-qcow2-linux-ea9e3f35886550af8a9bdbd60f244cfaceffc523.tar.xz
kernel-qcow2-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/stm32-dac.c')
-rw-r--r--drivers/iio/dac/stm32-dac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c
index c1864e8aa851..9ffab02bf9f9 100644
--- a/drivers/iio/dac/stm32-dac.c
+++ b/drivers/iio/dac/stm32-dac.c
@@ -156,7 +156,6 @@ static const struct iio_info stm32_dac_iio_info = {
.read_raw = stm32_dac_read_raw,
.write_raw = stm32_dac_write_raw,
.debugfs_reg_access = stm32_dac_debugfs_reg_access,
- .driver_module = THIS_MODULE,
};
static const char * const stm32_dac_powerdown_modes[] = {