Commit 6d9d020d authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Jonathan Cameron

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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent 1b449a72
...@@ -110,7 +110,6 @@ static int ds1803_write_raw(struct iio_dev *indio_dev, ...@@ -110,7 +110,6 @@ static int ds1803_write_raw(struct iio_dev *indio_dev,
static const struct iio_info ds1803_info = { static const struct iio_info ds1803_info = {
.read_raw = ds1803_read_raw, .read_raw = ds1803_read_raw,
.write_raw = ds1803_write_raw, .write_raw = ds1803_write_raw,
.driver_module = THIS_MODULE,
}; };
static int ds1803_probe(struct i2c_client *client, static int ds1803_probe(struct i2c_client *client,
......
...@@ -119,7 +119,6 @@ static int max5481_write_raw(struct iio_dev *indio_dev, ...@@ -119,7 +119,6 @@ static int max5481_write_raw(struct iio_dev *indio_dev,
static const struct iio_info max5481_info = { static const struct iio_info max5481_info = {
.read_raw = max5481_read_raw, .read_raw = max5481_read_raw,
.write_raw = max5481_write_raw, .write_raw = max5481_write_raw,
.driver_module = THIS_MODULE,
}; };
#if defined(CONFIG_OF) #if defined(CONFIG_OF)
......
...@@ -83,7 +83,6 @@ static int max5487_write_raw(struct iio_dev *indio_dev, ...@@ -83,7 +83,6 @@ static int max5487_write_raw(struct iio_dev *indio_dev,
static const struct iio_info max5487_info = { static const struct iio_info max5487_info = {
.read_raw = max5487_read_raw, .read_raw = max5487_read_raw,
.write_raw = max5487_write_raw, .write_raw = max5487_write_raw,
.driver_module = THIS_MODULE,
}; };
static int max5487_spi_probe(struct spi_device *spi) static int max5487_spi_probe(struct spi_device *spi)
......
...@@ -237,7 +237,6 @@ static int mcp4131_write_raw(struct iio_dev *indio_dev, ...@@ -237,7 +237,6 @@ static int mcp4131_write_raw(struct iio_dev *indio_dev,
static const struct iio_info mcp4131_info = { static const struct iio_info mcp4131_info = {
.read_raw = mcp4131_read_raw, .read_raw = mcp4131_read_raw,
.write_raw = mcp4131_write_raw, .write_raw = mcp4131_write_raw,
.driver_module = THIS_MODULE,
}; };
static int mcp4131_probe(struct spi_device *spi) static int mcp4131_probe(struct spi_device *spi)
......
...@@ -207,7 +207,6 @@ static const struct iio_info mcp4531_info = { ...@@ -207,7 +207,6 @@ static const struct iio_info mcp4531_info = {
.read_raw = mcp4531_read_raw, .read_raw = mcp4531_read_raw,
.read_avail = mcp4531_read_avail, .read_avail = mcp4531_read_avail,
.write_raw = mcp4531_write_raw, .write_raw = mcp4531_write_raw,
.driver_module = THIS_MODULE,
}; };
#ifdef CONFIG_OF #ifdef CONFIG_OF
......
...@@ -106,7 +106,6 @@ static int tpl0102_write_raw(struct iio_dev *indio_dev, ...@@ -106,7 +106,6 @@ static int tpl0102_write_raw(struct iio_dev *indio_dev,
static const struct iio_info tpl0102_info = { static const struct iio_info tpl0102_info = {
.read_raw = tpl0102_read_raw, .read_raw = tpl0102_read_raw,
.write_raw = tpl0102_write_raw, .write_raw = tpl0102_write_raw,
.driver_module = THIS_MODULE,
}; };
static int tpl0102_probe(struct i2c_client *client, static int tpl0102_probe(struct i2c_client *client,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment