Skip to contentSkip to conversation

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

PATCH Applied SF Markus Elfring 2 participants 2 messages Aug 16, 2016 – Aug 17, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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

From: Markus Elfring <[email protected]>
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

---
 drivers/clk/qcom/gcc-ipq4019.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clk/qcom/gcc-ipq4019.c +0 -1
index 3cd1af0..b593065 100644
@@ -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,
 	},
 };
Signature · 1 line
2.9.2
Applied
#1 lore raw
Quoted 9 lines · SF Markus Elfring

From: Markus Elfring <[email protected]>
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

---

Applied to clk-next

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project