mirror of https://gitee.com/openkylin/linux.git
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:
parent
e7e6198c60
commit
8122966318
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue