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

iio:stm32-lp-timer and ep93xx: drop assign iio_info.driver_module and iio_trigger_ops.owner

The equivalent of both of these are now done via macro magic when
the relevant register calls are made. The actual structure
elements have gone away.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jonathan Cameron and committed by
Greg Kroah-Hartman
f4052efe 069f0e0c

-3
-1
drivers/iio/adc/ep93xx_adc.c
··· 150 150 } 151 151 152 152 static const struct iio_info ep93xx_adc_info = { 153 - .driver_module = THIS_MODULE, 154 153 .read_raw = ep93xx_read_raw, 155 154 }; 156 155
-1
drivers/iio/counter/stm32-lptimer-cnt.c
··· 178 178 static const struct iio_info stm32_lptim_cnt_iio_info = { 179 179 .read_raw = stm32_lptim_read_raw, 180 180 .write_raw = stm32_lptim_write_raw, 181 - .driver_module = THIS_MODULE, 182 181 }; 183 182 184 183 static const char *const stm32_lptim_quadrature_modes[] = {
-1
drivers/iio/trigger/stm32-lptimer-trigger.c
··· 37 37 } 38 38 39 39 static const struct iio_trigger_ops stm32_lptim_trigger_ops = { 40 - .owner = THIS_MODULE, 41 40 .validate_device = stm32_lptim_validate_device, 42 41 }; 43 42