1
0
Fork 0

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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
alistair/sunxi64-5.4-dsi
YueHaibing 2019-07-02 06:17:38 +00:00 committed by Mark Brown
parent 559e92f787
commit 2d2e331697
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 0 additions and 1 deletions

View File

@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt1308_i2c_driver = {
.driver = {
.name = "rt1308",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(rt1308_of_match),
.acpi_match_table = ACPI_PTR(rt1308_acpi_match),
},