projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d3da3f
)
iio: adc: max11100: remove .owner field for driver
author
Wei Yongjun
<weiyongjun1@huawei.com>
Mon, 6 Feb 2017 16:41:42 +0000
(16:41 +0000)
committer
Jonathan 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/max11100.c
b/drivers/iio/adc/max11100.c
index a088cf99bfe12d69411c44fd4d095ec42647e7b2..23c060e1b663ae25fb008ed10affa2a7718ff267 100644
(file)
--- 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,