Commit 2d2e3316 authored by YueHaibing's avatar YueHaibing Committed by Mark Brown

ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings

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 avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 559e92f7
...@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client) ...@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt1308_i2c_driver = { static struct i2c_driver rt1308_i2c_driver = {
.driver = { .driver = {
.name = "rt1308", .name = "rt1308",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(rt1308_of_match), .of_match_table = of_match_ptr(rt1308_of_match),
.acpi_match_table = ACPI_PTR(rt1308_acpi_match), .acpi_match_table = ACPI_PTR(rt1308_acpi_match),
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment