Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1485473
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings |
| Date | 2016-09-17 04:50 +0200 |
| Message-ID | <sidRv-55C-3@gated-at.bofh.it> (permalink) |
| References | <sidRv-55C-1@gated-at.bofh.it> <sicLL-4iK-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
sound/soc/codecs/rt5663.c:3203: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: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
rt5663.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/codecs/rt5663.c
+++ b/sound/soc/codecs/rt5663.c
@@ -3200,7 +3200,6 @@ static void rt5663_i2c_shutdown(struct i
static struct i2c_driver rt5663_i2c_driver = {
.driver = {
.name = "rt5663",
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(rt5663_acpi_match),
.of_match_table = of_match_ptr(rt5663_of_match),
},
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -next] ASoC: rt5663: fix sparse warnings Wei Yongjun <weiyj.lk@gmail.com> - 2016-09-17 03:40 +0200
[PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-09-17 04:50 +0200
RE: [PATCH] ASoC: rt5663: fix platform_no_drv_owner.cocci warnings Bard Liao <bardliao@realtek.com> - 2016-09-19 04:10 +0200
Applied "ASoC: rt5663: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-09-21 15:00 +0200
Re: [PATCH -next] ASoC: rt5663: fix sparse warnings kbuild test robot <lkp@intel.com> - 2016-09-17 04:50 +0200
Applied "ASoC: rt5663: fix sparse warnings" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-09-21 15:00 +0200
csiph-web