diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 18:26:06 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 23:14:51 +0200 |
commit | a62e256b1438e3d43293bc71fd0ebb064cb0c51d (patch) | |
tree | 6010478a6586b60caf15d9c5e3b8ae44342ef02c /drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | |
parent | iio:pressure: drop assign iio_info.driver_module and iio_trigger_ops.owner (diff) | |
download | linux-a62e256b1438e3d43293bc71fd0ebb064cb0c51d.tar.xz linux-a62e256b1438e3d43293bc71fd0ebb064cb0c51d.zip |
iio:proximity: 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/proximity/pulsedlight-lidar-lite-v2.c')
-rw-r--r-- | drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c index 36c1ddc251aa..4d56f67b24c6 100644 --- a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c +++ b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c @@ -249,7 +249,6 @@ static irqreturn_t lidar_trigger_handler(int irq, void *private) } static const struct iio_info lidar_info = { - .driver_module = THIS_MODULE, .read_raw = lidar_read_raw, }; |