mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
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: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
parent
ae6cc21382
commit
6ff33cb3ce
@ -569,7 +569,6 @@ static const struct attribute_group ad7150_event_attribute_group = {
|
||||
|
||||
static const struct iio_info ad7150_info = {
|
||||
.event_attrs = &ad7150_event_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
.read_raw = &ad7150_read_raw,
|
||||
.read_event_config = &ad7150_read_event_config,
|
||||
.write_event_config = &ad7150_write_event_config,
|
||||
|
@ -441,7 +441,6 @@ static const struct iio_info ad7152_info = {
|
||||
.read_raw = ad7152_read_raw,
|
||||
.write_raw = ad7152_write_raw,
|
||||
.write_raw_get_fmt = ad7152_write_raw_get_fmt,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec ad7152_channels[] = {
|
||||
|
@ -667,7 +667,6 @@ static const struct iio_info ad7746_info = {
|
||||
.attrs = &ad7746_attribute_group,
|
||||
.read_raw = ad7746_read_raw,
|
||||
.write_raw = ad7746_write_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user