]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Tue, 2 Jul 2019 06:17:38 +0000 (06:17 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jul 2019 11:41:10 +0000 (12:41 +0100)
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>
sound/soc/codecs/rt1308.c

index 619a630e982e6f25b265d72b3b4e4d657e21de06..d673506c7c3944fd8bb354555d476c72d6d706b9 100755 (executable)
@@ -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),
        },