diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:25:53 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 21:26:54 +0100 |
commit | ea9e3f35886550af8a9bdbd60f244cfaceffc523 (patch) | |
tree | de316c7b045eba331b34d3a746c866aed8ab6ae6 /drivers/iio/dac/ad5761.c | |
parent | d5b531a8bc108c1120d4bbe56fb5a691ed56d775 (diff) | |
download | lwn-ea9e3f35886550af8a9bdbd60f244cfaceffc523.tar.gz lwn-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/ad5761.c')
-rw-r--r-- | drivers/iio/dac/ad5761.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5761.c b/drivers/iio/dac/ad5761.c index d6510d6928b3..05017c8bbd00 100644 --- a/drivers/iio/dac/ad5761.c +++ b/drivers/iio/dac/ad5761.c @@ -251,7 +251,6 @@ static int ad5761_write_raw(struct iio_dev *indio_dev, static const struct iio_info ad5761_info = { .read_raw = &ad5761_read_raw, .write_raw = &ad5761_write_raw, - .driver_module = THIS_MODULE, }; #define AD5761_CHAN(_bits) { \ |