Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging:iio:adc: 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
element will shortly go away.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>

authored by

Jonathan Cameron and committed by
Jonathan Cameron
ae6cc213 85cfa866

-11
-2
drivers/staging/iio/adc/ad7192.c
··· 569 569 .write_raw_get_fmt = ad7192_write_raw_get_fmt, 570 570 .attrs = &ad7192_attribute_group, 571 571 .validate_trigger = ad_sd_validate_trigger, 572 - .driver_module = THIS_MODULE, 573 572 }; 574 573 575 574 static const struct iio_info ad7195_info = { ··· 577 578 .write_raw_get_fmt = ad7192_write_raw_get_fmt, 578 579 .attrs = &ad7195_attribute_group, 579 580 .validate_trigger = ad_sd_validate_trigger, 580 - .driver_module = THIS_MODULE, 581 581 }; 582 582 583 583 static const struct iio_chan_spec ad7192_channels[] = {
-1
drivers/staging/iio/adc/ad7280a.c
··· 828 828 .read_raw = ad7280_read_raw, 829 829 .event_attrs = &ad7280_event_attrs_group, 830 830 .attrs = &ad7280_attrs_group, 831 - .driver_module = THIS_MODULE, 832 831 }; 833 832 834 833 static const struct ad7280_platform_data ad7793_default_pdata = {
-4
drivers/staging/iio/adc/ad7606.c
··· 373 373 }; 374 374 375 375 static const struct iio_info ad7606_info_no_os_or_range = { 376 - .driver_module = THIS_MODULE, 377 376 .read_raw = &ad7606_read_raw, 378 377 }; 379 378 380 379 static const struct iio_info ad7606_info_os_and_range = { 381 - .driver_module = THIS_MODULE, 382 380 .read_raw = &ad7606_read_raw, 383 381 .write_raw = &ad7606_write_raw, 384 382 .attrs = &ad7606_attribute_group_os_and_range, 385 383 }; 386 384 387 385 static const struct iio_info ad7606_info_os = { 388 - .driver_module = THIS_MODULE, 389 386 .read_raw = &ad7606_read_raw, 390 387 .write_raw = &ad7606_write_raw, 391 388 .attrs = &ad7606_attribute_group_os, 392 389 }; 393 390 394 391 static const struct iio_info ad7606_info_range = { 395 - .driver_module = THIS_MODULE, 396 392 .read_raw = &ad7606_read_raw, 397 393 .write_raw = &ad7606_write_raw, 398 394 .attrs = &ad7606_attribute_group_range,
-1
drivers/staging/iio/adc/ad7780.c
··· 155 155 156 156 static const struct iio_info ad7780_info = { 157 157 .read_raw = ad7780_read_raw, 158 - .driver_module = THIS_MODULE, 159 158 }; 160 159 161 160 static int ad7780_probe(struct spi_device *spi)
-1
drivers/staging/iio/adc/ad7816.c
··· 335 335 static const struct iio_info ad7816_info = { 336 336 .attrs = &ad7816_attribute_group, 337 337 .event_attrs = &ad7816_event_attribute_group, 338 - .driver_module = THIS_MODULE, 339 338 }; 340 339 341 340 /*
-2
drivers/staging/iio/addac/adt7316.c
··· 2087 2087 static const struct iio_info adt7316_info = { 2088 2088 .attrs = &adt7316_attribute_group, 2089 2089 .event_attrs = &adt7316_event_attribute_group, 2090 - .driver_module = THIS_MODULE, 2091 2090 }; 2092 2091 2093 2092 static const struct iio_info adt7516_info = { 2094 2093 .attrs = &adt7516_attribute_group, 2095 2094 .event_attrs = &adt7516_event_attribute_group, 2096 - .driver_module = THIS_MODULE, 2097 2095 }; 2098 2096 2099 2097 /*