clk: mediatek: 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: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
@@ -1463,7 +1463,6 @@ static struct platform_driver clk_mt2712_drv = {
|
|||||||
.probe = clk_mt2712_probe,
|
.probe = clk_mt2712_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "clk-mt2712",
|
.name = "clk-mt2712",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_clk_mt2712,
|
.of_match_table = of_match_clk_mt2712,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user