Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1584565
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] fix platform_no_drv_owner.cocci warnings |
| Date | 2017-02-20 13:10 +0100 |
| Message-ID | <tcUWZ-4uF-7@gated-at.bofh.it> (permalink) |
| References | <tcUWZ-4uF-5@gated-at.bofh.it> <tcTxT-3tt-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/input/misc/cy8cmbr3102.c:210:4-9: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
cy8cmbr3102.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/input/misc/cy8cmbr3102.c
+++ b/drivers/input/misc/cy8cmbr3102.c
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, of_cy8cmbr3102_m
static struct i2c_driver cy8cmbr3102_driver = {
.driver = {
.name = "cy8cmbr3102",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_cy8cmbr3102_match),
},
.probe = cy8cmbr3102_probe,
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] add driver for cypress cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
[PATCH 2/2] add device tree documentation for cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
[PATCH 1/2] add driver for cypress cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
Re: [PATCH 1/2] add driver for cypress cy8cmbr3102 kbuild test robot <lkp@intel.com> - 2017-02-20 13:10 +0100
[PATCH] fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2017-02-20 13:10 +0100
csiph-web