Commit 3762f8a0 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Jonathan Cameron

iio:resolver: drop assignment of iio_info.driver_module

The equivalent 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 02272cb1
......@@ -98,7 +98,6 @@ static const struct iio_chan_spec ad2s1200_channels[] = {
static const struct iio_info ad2s1200_info = {
.read_raw = ad2s1200_read_raw,
.driver_module = THIS_MODULE,
};
static int ad2s1200_probe(struct spi_device *spi)
......
......@@ -638,7 +638,6 @@ static int ad2s1210_initial(struct ad2s1210_state *st)
static const struct iio_info ad2s1210_info = {
.read_raw = ad2s1210_read_raw,
.attrs = &ad2s1210_attribute_group,
.driver_module = THIS_MODULE,
};
static int ad2s1210_setup_gpios(struct ad2s1210_state *st)
......
......@@ -48,7 +48,6 @@ static int ad2s90_read_raw(struct iio_dev *indio_dev,
static const struct iio_info ad2s90_info = {
.read_raw = ad2s90_read_raw,
.driver_module = THIS_MODULE,
};
static const struct iio_chan_spec ad2s90_chan = {
......
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