aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/adc/max11100.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-02-06 16:41:42 +0000
committerJonathan Cameron <jic23@kernel.org>2017-03-08 20:27:14 +0000
commitdb233ef8a355d2a9fc62815ec37fb8edee581958 (patch)
tree8e3a0b681e5c0aff216fc03f85f306c24321c0bb /drivers/iio/adc/max11100.c
parent1d3da3fed1a211d11d33aff1fb2438a1fc27740e (diff)
iio: adc: max11100: remove .owner field for driver
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>
Diffstat (limited to 'drivers/iio/adc/max11100.c')
-rw-r--r--drivers/iio/adc/max11100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/max11100.c b/drivers/iio/adc/max11100.c
index a088cf99bfe1..23c060e1b663 100644
--- a/drivers/iio/adc/max11100.c
+++ b/drivers/iio/adc/max11100.c
@@ -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,