mirror of https://gitee.com/openkylin/linux.git
clk: qcom: fix platform_no_drv_owner.cocci warnings
drivers/clk/qcom/lcc-msm8960.c:577: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 Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>
This commit is contained in:
parent
3b34109a4d
commit
a456fe3d27
|
@ -574,7 +574,6 @@ static struct platform_driver lcc_msm8960_driver = {
|
|||
.remove = lcc_msm8960_remove,
|
||||
.driver = {
|
||||
.name = "lcc-msm8960",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = lcc_msm8960_match_table,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue