diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:26:03 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:34:10 +0200 |
commit | 6d9d020da55dfb1780ba787924f4cd92c69105f5 (patch) | |
tree | 77757a44a21471854f3cc75f613443e015842123 /drivers/iio/potentiometer/mcp4531.c | |
parent | iio:orientation: drop assign iio_info.driver_module (diff) | |
download | linux-6d9d020da55dfb1780ba787924f4cd92c69105f5.tar.xz linux-6d9d020da55dfb1780ba787924f4cd92c69105f5.zip |
iio:dpot: 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/iio/potentiometer/mcp4531.c')
-rw-r--r-- | drivers/iio/potentiometer/mcp4531.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c index 314353d7ab59..114ab876fcc6 100644 --- a/drivers/iio/potentiometer/mcp4531.c +++ b/drivers/iio/potentiometer/mcp4531.c @@ -207,7 +207,6 @@ static const struct iio_info mcp4531_info = { .read_raw = mcp4531_read_raw, .read_avail = mcp4531_read_avail, .write_raw = mcp4531_write_raw, - .driver_module = THIS_MODULE, }; #ifdef CONFIG_OF |