Skip to content

Commit

Permalink
staging:iio:frequency: drop assign iio_info.driver_module
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Lars-Peter Clausen <[email protected]>
  • Loading branch information
jic23 committed Aug 22, 2017
1 parent 6ff33cb commit 9a32d30
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/staging/iio/frequency/ad9832.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/iio/frequency/ad9834.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a32d30

Please sign in to comment.