diff mbox

clk: gcc-ipq4019: Delete unnecessary assignment for the field "owner"

Message ID 6a872283-d7d9-462d-e96f-981d788415d3@users.sourceforge.net (mailing list archive)
State Accepted, archived
Delegated to: Stephen Boyd
Headers show

Commit Message

SF Markus Elfring Aug. 16, 2016, 7:29 a.m. UTC
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 08:53:10 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/clk/qcom/gcc-ipq4019.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Boyd Aug. 17, 2016, 10:13 p.m. UTC | #1
On 08/16, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 08:53:10 +0200
> 
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---

Applied to clk-next
diff mbox

Patch

diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c
index 3cd1af0..b593065 100644
--- a/drivers/clk/qcom/gcc-ipq4019.c
+++ b/drivers/clk/qcom/gcc-ipq4019.c
@@ -1332,7 +1332,6 @@  static struct platform_driver gcc_ipq4019_driver = {
 	.probe		= gcc_ipq4019_probe,
 	.driver		= {
 		.name	= "qcom,gcc-ipq4019",
-		.owner	= THIS_MODULE,
 		.of_match_table = gcc_ipq4019_match_table,
 	},
 };