Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1269820
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] regulator: pv88090: fix platform_no_drv_owner.cocci warnings |
| Date | 2015-11-16 04:10 +0100 |
| Message-ID | <qvil4-1Kh-9@gated-at.bofh.it> (permalink) |
| References | <qvil4-1Kh-7@gated-at.bofh.it> <qvhIl-1hX-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/regulator/pv88090-regulator.c:471:3-8: 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: James Ban <James.Ban.opensource@diasemi.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pv88090-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/pv88090-regulator.c
+++ b/drivers/regulator/pv88090-regulator.c
@@ -468,7 +468,6 @@ MODULE_DEVICE_TABLE(of, pv88090_dt_ids);
static struct i2c_driver pv88090_regulator_driver = {
.driver = {
.name = "pv88090",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(pv88090_dt_ids),
},
.probe = pv88090_i2c_probe,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V1] regulator: pv88090: new regulator driver James Bans <James.Ban.opensource@diasemi.com> - 2015-11-16 03:30 +0100 [PATCH] regulator: pv88090: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2015-11-16 04:10 +0100 Re: [PATCH V1] regulator: pv88090: new regulator driver kbuild test robot <lkp@intel.com> - 2015-11-16 04:10 +0100 [PATCH] regulator: pv88090: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2015-11-16 04:10 +0100
csiph-web