ASoC: ics43432: fix platform_no_drv_owner.cocci warnings
Author: kbuild test robot <fengguang.wu@intel.com>
sound/soc/codecs/ics43432.c:66: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: Ricard Wanderlof
Signed-off-by: Fengguang Wu
Signed-off-by: Mark Brown
---
sound/soc/codecs/ics43432.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/ics43432.c b/sound/soc/codecs/ics43432.c
index 4f202c1..d217fed 100644
--- a/sound/soc/codecs/ics43432.c
+++ b/sound/soc/codecs/ics43432.c
@@ -63,7 +63,6 @@ MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
static struct platform_driver ics43432_driver = {
.driver = {
.name = "ics43432",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(ics43432_ids),
},
.probe = ics43432_probe, |
---
sound/soc/codecs/ics43432.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/ics43432.c b/sound/soc/codecs/ics43432.c
index 4f202c1..d217fed 100644
--- a/sound/soc/codecs/ics43432.c
+++ b/sound/soc/codecs/ics43432.c
@@ -63,7 +63,6 @@ MODULE_DEVICE_TABLE(of, ics43432_dt_ids);
static struct platform_driver ics43432_driver = {
.driver = {
.name = "ics43432",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(ics43432_ids),
},
.probe = ics43432_probe,