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

From: kbuild test robot
Date: Mon Dec 08 2014 - 17:22:41 EST


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@xxxxxxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/