]> Git Repo - linux.git/commitdiff
ASoC: rt5663: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <[email protected]>
Sat, 17 Sep 2016 02:45:18 +0000 (10:45 +0800)
committerMark Brown <[email protected]>
Tue, 20 Sep 2016 11:21:10 +0000 (12:21 +0100)
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: Fengguang Wu <[email protected]>
Acked-by: Bard Liao <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/rt5663.c

index 90a6ad5821f6ae1b288c8e64cd272d8a082a50f3..01a18d88f1eb19f4311319ce0a47771da34df131 100644 (file)
@@ -3203,7 +3203,6 @@ static void rt5663_i2c_shutdown(struct i2c_client *client)
 static struct i2c_driver rt5663_i2c_driver = {
        .driver = {
                .name = "rt5663",
-               .owner = THIS_MODULE,
                .acpi_match_table = ACPI_PTR(rt5663_acpi_match),
                .of_match_table = of_match_ptr(rt5663_of_match),
        },
This page took 0.062614 seconds and 4 git commands to generate.