aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/max9611.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:22 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 18:10:25 +0100
commita8375d704d462fcedf9acd942d4aa9f91f846742 (patch)
tree0652612b7e2c3173d53b27050035615566f6aee5 /drivers/iio/adc/max9611.c
parentiio: drop iio_info.driver_module and iio_trigger_ops.owner. (diff)
downloadlinux-dev-a8375d704d462fcedf9acd942d4aa9f91f846742.tar.xz
linux-dev-a8375d704d462fcedf9acd942d4aa9f91f846742.zip
iio:adc:max9611: Drop explicit setting of the i2c module owner.
This has been handled by the i2c core for some time. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/adc/max9611.c')
-rw-r--r--drivers/iio/adc/max9611.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/max9611.c b/drivers/iio/adc/max9611.c
index 9edfbabf4e4d..0538ff8c4ac1 100644
--- a/drivers/iio/adc/max9611.c
+++ b/drivers/iio/adc/max9611.c
@@ -572,7 +572,6 @@ static int max9611_probe(struct i2c_client *client,
static struct i2c_driver max9611_driver = {
.driver = {
.name = DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = max9611_of_table,
},
.probe = max9611_probe,