mirror of https://gitee.com/openkylin/linux.git
staging:iio:frequency: 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
6ff33cb3ce
commit
9a32d303e0
|
@ -290,7 +290,6 @@ static const struct attribute_group ad9832_attribute_group = {
|
|||
|
||||
static const struct iio_info ad9832_info = {
|
||||
.attrs = &ad9832_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad9832_probe(struct spi_device *spi)
|
||||
|
|
|
@ -381,12 +381,10 @@ static const struct attribute_group ad9833_attribute_group = {
|
|||
|
||||
static const struct iio_info ad9834_info = {
|
||||
.attrs = &ad9834_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct iio_info ad9833_info = {
|
||||
.attrs = &ad9833_attribute_group,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ad9834_probe(struct spi_device *spi)
|
||||
|
|
Loading…
Reference in New Issue