iio:adc:max9611: Drop explicit setting of the i2c module owner.
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:22 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Sep 2017 17:10:25 +0000 (18:10 +0100)
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>
drivers/iio/adc/max9611.c

index 9edfbabf4e4df1e42308af2dbd89e61f3444bd11..0538ff8c4ac1d2f1e242898daf644d3b69345c4d 100644 (file)
@@ -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,