[PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings

kbuild test robot
2014-12-08T22:22:37Z

drivers/clk/qcom/kpss-xcc.c:89: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: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

kpss-xcc.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/clk/qcom/kpss-xcc.c
+++ b/drivers/clk/qcom/kpss-xcc.c
@@ -86,7 +86,6 @@ static struct platform_driver kpss_xcc_d
.driver = {
.name = "kpss-xcc",
.of_match_table = kpss_xcc_match_table,
- .owner = THIS_MODULE,
},
};
module_platform_driver(kpss_xcc_driver);