Skip to contentSkip to conversation

clk: qcom: fix platform_no_drv_owner.cocci warnings

PATCH Applied Stephen Boyd 3 participants 3 messages Jan 28, 2015 – Feb 25, 2015 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 201501281508.7qdKuDxn%[email protected]

#1 lore raw

drivers/clk/qcom/lcc-ipq806x.c:465: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 Rajendra Nayak <[email protected]>

---

 lcc-ipq806x.c |    1 -
 1 file changed, 1 deletion(-)
drivers/clk/qcom/lcc-ipq806x.c +0 -1
@@ -462,7 +462,6 @@ static struct platform_driver lcc_ipq806
 	.remove		= lcc_ipq806x_remove,
 	.driver		= {
 		.name	= "lcc-ipq806x",
-		.owner	= THIS_MODULE,
 		.of_match_table = lcc_ipq806x_match_table,
 	},
 };
author Reviewed-by
#2 lore raw
Quoted 8 lines · kbuild test robot

drivers/clk/qcom/lcc-ipq806x.c:465: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 Rajendra Nayak <[email protected]>

Thanks. This code was reposted from a time when this wasn't done automatically.

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

Quoting Stephen Boyd (2015-01-28 12:49:32)

Quoted 11 lines · kbuild test robot
Quoted 8 lines

drivers/clk/qcom/lcc-ipq806x.c:465: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 Rajendra Nayak <[email protected]>

Applied.

Regards,
Mike

Quoted 8 lines

Thanks. This code was reposted from a time when this wasn't done automatically.

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