diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 19:26:05 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 23:35:27 +0300 |
commit | 6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (patch) | |
tree | eec7d3e0a057d463e3c4af212b642584d482afa5 /drivers/iio/pressure/cros_ec_baro.c | |
parent | c64fdf0fe943bedfa8f6de07aec907b15436a5be (diff) | |
download | linux-6a15fef2cb4b75cb8101f6359ca364bc3ffcccca.tar.xz |
iio:pressure: 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 will shortly go away.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/pressure/cros_ec_baro.c')
-rw-r--r-- | drivers/iio/pressure/cros_ec_baro.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/pressure/cros_ec_baro.c b/drivers/iio/pressure/cros_ec_baro.c index 48b2a30f57ae..37034188ab8e 100644 --- a/drivers/iio/pressure/cros_ec_baro.c +++ b/drivers/iio/pressure/cros_ec_baro.c @@ -120,7 +120,6 @@ static int cros_ec_baro_write(struct iio_dev *indio_dev, static const struct iio_info cros_ec_baro_info = { .read_raw = &cros_ec_baro_read, .write_raw = &cros_ec_baro_write, - .driver_module = THIS_MODULE, }; static int cros_ec_baro_probe(struct platform_device *pdev) |