Commit 3b34109a 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-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: 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 4be8fc04
...@@ -462,7 +462,6 @@ static struct platform_driver lcc_ipq806x_driver = { ...@@ -462,7 +462,6 @@ static struct platform_driver lcc_ipq806x_driver = {
.remove = lcc_ipq806x_remove, .remove = lcc_ipq806x_remove,
.driver = { .driver = {
.name = "lcc-ipq806x", .name = "lcc-ipq806x",
.owner = THIS_MODULE,
.of_match_table = lcc_ipq806x_match_table, .of_match_table = lcc_ipq806x_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