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

iio:orientation: 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>

authored by

Jonathan Cameron and committed by
Jonathan Cameron
1b449a72 7f307262

-2
-1
drivers/iio/orientation/hid-sensor-incl-3d.c
··· 186 186 } 187 187 188 188 static const struct iio_info incl_3d_info = { 189 - .driver_module = THIS_MODULE, 190 189 .read_raw = &incl_3d_read_raw, 191 190 .write_raw = &incl_3d_write_raw, 192 191 };
-1
drivers/iio/orientation/hid-sensor-rotation.c
··· 138 138 } 139 139 140 140 static const struct iio_info dev_rot_info = { 141 - .driver_module = THIS_MODULE, 142 141 .read_raw_multi = &dev_rot_read_raw, 143 142 .write_raw = &dev_rot_write_raw, 144 143 };