Skip to contentSkip to conversation

ASoC: samsung: fix platform_no_drv_owner.cocci warnings

PATCH In review Zou Wei 3 participants 3 messages Nov 16, 2020 – Nov 18, 2020

Subsystems (3)
lore
Share & tools
lore

Zou Wei

author
#0 lore raw

PATCH 1/1 ASoC: samsung: fix platform_no_drv_owner.cocci warnings

./sound/soc/samsung/midas_wm1811.c:534: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

---
 sound/soc/samsung/midas_wm1811.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/samsung/midas_wm1811.c +0 -1
index d03340c..1f9a553 100644
@@ -531,7 +531,6 @@ static struct platform_driver midas_driver = {
 	.driver = {
 		.name = "midas-audio",
 		.of_match_table = midas_of_match,
-		.owner = THIS_MODULE,
 		.pm = &snd_soc_pm_ops,
 	},
 	.probe = midas_probe,
Signature · 1 line
2.6.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Zou Wei

./sound/soc/samsung/midas_wm1811.c:534: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

---
 sound/soc/samsung/midas_wm1811.c | 1 -
 1 file changed, 1 deletion(-)

Best regards,
Krzysztof

maintainer
#2 lore raw
In reply to Zou Wei
Quoted 5 lines · Zou Wei

./sound/soc/samsung/midas_wm1811.c:534: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

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: samsung: fix platform_no_drv_owner.cocci warnings

      commit: 45f366ec7941932d1a14576f3bd73d831fe9da95

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark