Commit a456fe3d authored by kbuild test robot's avatar kbuild test robot Committed by Michael Turquette

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 3b34109a
...@@ -574,7 +574,6 @@ static struct platform_driver lcc_msm8960_driver = { ...@@ -574,7 +574,6 @@ static struct platform_driver lcc_msm8960_driver = {
.remove = lcc_msm8960_remove, .remove = lcc_msm8960_remove,
.driver = { .driver = {
.name = "lcc-msm8960", .name = "lcc-msm8960",
.owner = THIS_MODULE,
.of_match_table = lcc_msm8960_match_table, .of_match_table = lcc_msm8960_match_table,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment