[PATCH] fix platform_no_drv_owner.cocci warnings

From: kbuild test robot
Date: Thu Feb 12 2015 - 23:49:15 EST


drivers/clk/qcom/clk-rpm.c:262: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@xxxxxxxxx>
---

clk-rpm.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/clk/qcom/clk-rpm.c
+++ b/drivers/clk/qcom/clk-rpm.c
@@ -259,7 +259,6 @@ static struct platform_driver rpm_clk_dr
.probe = rpm_clk_probe,
.driver = {
.name = "qcom-rpm-clk",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(clk_rpm_of_match),
},
};
--
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/