]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: fix platform_no_drv_owner.cocci warnings
authorZou Wei <zou_wei@huawei.com>
Tue, 22 Sep 2020 07:51:05 +0000 (15:51 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 22 Sep 2020 19:56:59 +0000 (12:56 -0700)
commita421f8ab05f67040867fc66a996fb53032249d2a
treeb4fa157162e6e088731a384535bcf5b8b4fa324b
parent5afc837a342fee25ff77120c635a5aa7ba8374d3
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: 02ef9f7737b6 ("clk: mediatek: Add MT6765 clock support")
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1600761065-71353-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6765.c