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-ipq806x.c:465: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

CC: Rajendra Nayak <rnayak@codeaurora.org>
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 4be8fc0 commit 3b34109
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/clk/qcom/lcc-ipq806x.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ static struct platform_driver lcc_ipq806x_driver = {
.remove = lcc_ipq806x_remove,
.driver = {
.name = "lcc-ipq806x",
.owner = THIS_MODULE,
.of_match_table = lcc_ipq806x_match_table,
},
};
Expand Down

0 comments on commit 3b34109

Please sign in to comment.