[PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings
kbuild test robot
fengguang.wu at intel.com
Thu Jan 15 01:05:44 PST 2015
sound/soc/sirf/sirf-atlas7-cs42xx8.c:192: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: Yibo Cai <yibo.cai at csr.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
sirf-atlas7-cs42xx8.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/sirf/sirf-atlas7-cs42xx8.c
+++ b/sound/soc/sirf/sirf-atlas7-cs42xx8.c
@@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, sirf_hdmi_card_o
static struct platform_driver sirf_hdmi_card_driver = {
.driver = {
.name = "sirf-hdmi-card",
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = sirf_hdmi_card_of_match,
},
More information about the linux-arm-kernel
mailing list