From: Jonathan Cameron Date: Sun, 23 Jul 2017 16:26:13 +0000 (+0100) Subject: staging:iio:gyro:adis16060 drop assign iio_info.driver_module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=529c8f7de80076dab66b1cce402f9f3a8c859eab;p=openwrt%2Fstaging%2Fblogic.git staging:iio:gyro:adis16060 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 Reviewed-by: Lars-Peter Clausen --- diff --git a/drivers/staging/iio/gyro/adis16060_core.c b/drivers/staging/iio/gyro/adis16060_core.c index 967524583d8a..4e7630caf7d3 100644 --- a/drivers/staging/iio/gyro/adis16060_core.c +++ b/drivers/staging/iio/gyro/adis16060_core.c @@ -103,7 +103,6 @@ static int adis16060_read_raw(struct iio_dev *indio_dev, static const struct iio_info adis16060_info = { .read_raw = adis16060_read_raw, - .driver_module = THIS_MODULE, }; static const struct iio_chan_spec adis16060_channels[] = {