Commit 3898182b authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown
Browse files

ASoC: zx: fix platform_no_drv_owner.cocci warnings



sound/soc/zte/zx296702-spdif.c:361: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

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3c10c280
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -358,7 +358,6 @@ static struct platform_driver spdif_driver = {
	.probe = zx_spdif_probe,
	.driver = {
		.name = "zx-spdif",
		.owner = THIS_MODULE,
		.of_match_table = zx_spdif_dt_ids,
	},
};