Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1379676
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] regulator: rk808: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-04-15 12:40 +0200 |
| Message-ID | <ro9kl-1wo-9@gated-at.bofh.it> (permalink) |
| References | <ro9kl-1wo-11@gated-at.bofh.it> <ro8eD-Nk-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
drivers/regulator/rk8xx-regulator.c:617: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: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
rk8xx-regulator.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/regulator/rk8xx-regulator.c
+++ b/drivers/regulator/rk8xx-regulator.c
@@ -614,7 +614,6 @@ static struct platform_driver rk8xx_regu
.probe = rk8xx_regulator_probe,
.driver = {
.name = "rk8xx-regulator",
- .owner = THIS_MODULE,
},
};
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c Wadim Egorov <w.egorov@phytec.de> - 2016-04-15 11:30 +0200
Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c Mark Brown <broonie@kernel.org> - 2016-04-15 12:30 +0200
Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-04-15 18:30 +0200
Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c Wadim Egorov <w.egorov@phytec.de> - 2016-04-18 09:30 +0200
Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c Mark Brown <broonie@kernel.org> - 2016-04-18 19:10 +0200
[PATCH] regulator: rk808: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-04-15 12:40 +0200
Re: [PATCH 3/6] regulator: rk808: Make rk808 generic, rename rk808-regulator.c kbuild test robot <lkp@intel.com> - 2016-04-15 12:40 +0200
csiph-web