Skip to content

Commit

Permalink
clk: qcom: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kbuild test robot authored and Michael Turquette committed Feb 25, 2015
1 parent 3b34109 commit a456fe3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/clk/qcom/lcc-msm8960.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down

0 comments on commit a456fe3

Please sign in to comment.