Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 726f783e authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown
Browse files

ASoC: fix platform_no_drv_owner.cocci warnings



sound/soc/codecs/gtm601.c:86:4-9: 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: Marek Belisko <marek@goldelico.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1fdc5ae8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -83,7 +83,6 @@ MODULE_DEVICE_TABLE(of, gtm601_codec_of_match);
static struct platform_driver gtm601_codec_driver = {
	.driver = {
			.name = "gtm601",
			.owner = THIS_MODULE,
			.of_match_table = of_match_ptr(gtm601_codec_of_match),
	},