summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/m62332.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:25:53 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 23:26:54 +0300
commitea9e3f35886550af8a9bdbd60f244cfaceffc523 (patch)
treede316c7b045eba331b34d3a746c866aed8ab6ae6 /drivers/iio/dac/m62332.c
parentd5b531a8bc108c1120d4bbe56fb5a691ed56d775 (diff)
downloadlinux-ea9e3f35886550af8a9bdbd60f244cfaceffc523.tar.xz
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/m62332.c')
-rw-r--r--drivers/iio/dac/m62332.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/m62332.c b/drivers/iio/dac/m62332.c
index 76e8b044b979..19031943dabe 100644
--- a/drivers/iio/dac/m62332.c
+++ b/drivers/iio/dac/m62332.c
@@ -174,7 +174,6 @@ static SIMPLE_DEV_PM_OPS(m62332_pm_ops, m62332_suspend, m62332_resume);
static const struct iio_info m62332_info = {
.read_raw = m62332_read_raw,
.write_raw = m62332_write_raw,
- .driver_module = THIS_MODULE,
};
#define M62332_CHANNEL(chan) { \