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

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

ASoC: rt5663: fix platform_no_drv_owner.cocci warnings



sound/soc/codecs/rt5663.c:3203: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>
Acked-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 66d7c262
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -3203,7 +3203,6 @@ static void rt5663_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt5663_i2c_driver = {
static struct i2c_driver rt5663_i2c_driver = {
	.driver = {
	.driver = {
		.name = "rt5663",
		.name = "rt5663",
		.owner = THIS_MODULE,
		.acpi_match_table = ACPI_PTR(rt5663_acpi_match),
		.acpi_match_table = ACPI_PTR(rt5663_acpi_match),
		.of_match_table = of_match_ptr(rt5663_of_match),
		.of_match_table = of_match_ptr(rt5663_of_match),
	},
	},