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>
This commit is contained in:

committed by
Jonathan Cameron

parent
1b449a7258
commit
6d9d020da5
@@ -237,7 +237,6 @@ static int mcp4131_write_raw(struct iio_dev *indio_dev,
|
||||
static const struct iio_info mcp4131_info = {
|
||||
.read_raw = mcp4131_read_raw,
|
||||
.write_raw = mcp4131_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int mcp4131_probe(struct spi_device *spi)
|
||||
|
Reference in New Issue
Block a user