]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
iio: adc: max11100: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Feb 2017 16:41:42 +0000 (16:41 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 8 Mar 2017 20:27:14 +0000 (20:27 +0000)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/max11100.c

index a088cf99bfe12d69411c44fd4d095ec42647e7b2..23c060e1b663ae25fb008ed10affa2a7718ff267 100644 (file)
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids);
 static struct spi_driver max11100_driver = {
        .driver = {
                .name   = "max11100",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(max11100_ids),
        },
        .probe          = max11100_probe,