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

staging:iio:cdc: 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 ae6cc213
...@@ -569,7 +569,6 @@ static const struct attribute_group ad7150_event_attribute_group = { ...@@ -569,7 +569,6 @@ static const struct attribute_group ad7150_event_attribute_group = {
static const struct iio_info ad7150_info = { static const struct iio_info ad7150_info = {
.event_attrs = &ad7150_event_attribute_group, .event_attrs = &ad7150_event_attribute_group,
.driver_module = THIS_MODULE,
.read_raw = &ad7150_read_raw, .read_raw = &ad7150_read_raw,
.read_event_config = &ad7150_read_event_config, .read_event_config = &ad7150_read_event_config,
.write_event_config = &ad7150_write_event_config, .write_event_config = &ad7150_write_event_config,
......
...@@ -441,7 +441,6 @@ static const struct iio_info ad7152_info = { ...@@ -441,7 +441,6 @@ static const struct iio_info ad7152_info = {
.read_raw = ad7152_read_raw, .read_raw = ad7152_read_raw,
.write_raw = ad7152_write_raw, .write_raw = ad7152_write_raw,
.write_raw_get_fmt = ad7152_write_raw_get_fmt, .write_raw_get_fmt = ad7152_write_raw_get_fmt,
.driver_module = THIS_MODULE,
}; };
static const struct iio_chan_spec ad7152_channels[] = { static const struct iio_chan_spec ad7152_channels[] = {
......
...@@ -667,7 +667,6 @@ static const struct iio_info ad7746_info = { ...@@ -667,7 +667,6 @@ static const struct iio_info ad7746_info = {
.attrs = &ad7746_attribute_group, .attrs = &ad7746_attribute_group,
.read_raw = ad7746_read_raw, .read_raw = ad7746_read_raw,
.write_raw = ad7746_write_raw, .write_raw = ad7746_write_raw,
.driver_module = THIS_MODULE,
}; };
/* /*
......
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