Skip to contentSkip to conversation

powerpc/512x: Delete unnecessary assignment for the field "owner"

PATCH New SF Markus Elfring 1 participant 1 message Aug 15, 2016

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

PATCH 1/1 powerpc/512x: Delete unnecessary assignment for the field "owner"

From: Markus Elfring <[email protected]>
Date: Mon, 15 Aug 2016 22:07:54 +0200

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

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c +0 -1
index 8eb82b0..d93dd4a 100644
@@ -528,7 +528,6 @@ static struct platform_driver mpc512x_lpbfifo_driver = {
 	.remove = mpc512x_lpbfifo_remove,
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = mpc512x_lpbfifo_match,
 	},
 };
Signature · 1 line
2.9.2