]> Git Repo - linux.git/commitdiff
clk: mediatek: fix platform_no_drv_owner.cocci warnings
authorYueHaibing <[email protected]>
Thu, 14 Feb 2019 01:56:16 +0000 (01:56 +0000)
committerStephen Boyd <[email protected]>
Fri, 22 Feb 2019 18:01:31 +0000 (10:01 -0800)
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 <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/mediatek/clk-mt2712.c

index 991d4093726e5c1a191af47895a2dd247a53f9dc..2895a5ae814d52f7e0640b0b6f4503c229f0a6d0 100644 (file)
@@ -1463,7 +1463,6 @@ static struct platform_driver clk_mt2712_drv = {
        .probe = clk_mt2712_probe,
        .driver = {
                .name = "clk-mt2712",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_clk_mt2712,
        },
 };
This page took 0.059447 seconds and 4 git commands to generate.