[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150128071134.GA6246@waimea>
Date: Wed, 28 Jan 2015 15:11:34 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: kbuild-all@...org, Michael Turquette <mturquette@...aro.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] clk: qcom: fix platform_no_drv_owner.cocci warnings
drivers/clk/qcom/lcc-msm8960.c:577: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@...eaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
lcc-msm8960.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/clk/qcom/lcc-msm8960.c
+++ b/drivers/clk/qcom/lcc-msm8960.c
@@ -574,7 +574,6 @@ static struct platform_driver lcc_msm896
.remove = lcc_msm8960_remove,
.driver = {
.name = "lcc-msm8960",
- .owner = THIS_MODULE,
.of_match_table = lcc_msm8960_match_table,
},
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists