diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:06 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:14:51 +0100 |
commit | a62e256b1438e3d43293bc71fd0ebb064cb0c51d (patch) | |
tree | 6010478a6586b60caf15d9c5e3b8ae44342ef02c /drivers/iio/proximity/srf08.c | |
parent | 6a15fef2cb4b75cb8101f6359ca364bc3ffcccca (diff) | |
download | linux-a62e256b1438e3d43293bc71fd0ebb064cb0c51d.tar.bz2 |
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/srf08.c')
-rw-r--r-- | drivers/iio/proximity/srf08.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/proximity/srf08.c b/drivers/iio/proximity/srf08.c index 9380d545aab1..f2bf783f829a 100644 --- a/drivers/iio/proximity/srf08.c +++ b/drivers/iio/proximity/srf08.c @@ -436,7 +436,6 @@ static const struct iio_chan_spec srf08_channels[] = { static const struct iio_info srf08_info = { .read_raw = srf08_read_raw, .attrs = &srf08_attribute_group, - .driver_module = THIS_MODULE, }; /* @@ -445,7 +444,6 @@ static const struct iio_info srf08_info = { */ static const struct iio_info srf02_info = { .read_raw = srf08_read_raw, - .driver_module = THIS_MODULE, }; static int srf08_probe(struct i2c_client *client, |