[alsa-devel] [PATCH] ASoC: Intel: fix platform_no_drv_owner.cocci warnings
kbuild test robot
fengguang.wu at intel.com
Sun Dec 21 15:40:43 CET 2014
sound/soc/intel/cht_bsw_rt5672.c:273: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: Mengdong Lin <mengdong.lin at intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
cht_bsw_rt5672.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/intel/cht_bsw_rt5672.c
+++ b/sound/soc/intel/cht_bsw_rt5672.c
@@ -270,7 +270,6 @@ static int snd_cht_mc_probe(struct platf
static struct platform_driver snd_cht_mc_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "cht-bsw-rt5672",
.pm = &snd_soc_pm_ops,
},
More information about the Alsa-devel
mailing list