Commit a2618360 authored by Zou Wei's avatar Zou Wei Committed by Stephen Boyd
Browse files

clk: mediatek: fix platform_no_drv_owner.cocci warnings



./drivers/clk/mediatek/clk-mt6765.c:912: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

Fixes: 1aca9939 ("clk: mediatek: Add MT6765 clock support")
Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1600761065-71353-1-git-send-email-zou_wei@huawei.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent b37c1e67
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -909,7 +909,6 @@ static struct platform_driver clk_mt6765_drv = {
	.probe = clk_mt6765_probe,
	.driver = {
		.name = "clk-mt6765",
		.owner = THIS_MODULE,
		.of_match_table = of_match_clk_mt6765,
	},
};