Skip to contentSkip to conversation

staging: fsl-mc: Remove redundant initalization of the .owner field

PATCH New Gujulan Elango, Hari Prasath (H.) 1 participant 1 message Apr 23, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: fsl-mc: Remove redundant initalization of the .owner field

This patch removes the redundant static initialization of the .owner field from this driver as it is being overidden by the call from the platform driver register

---
 drivers/staging/fsl-mc/bus/mc-bus.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/fsl-mc/bus/mc-bus.c +0 -1
index 23512d0..766a659 100644
@@ -713,7 +713,6 @@ MODULE_DEVICE_TABLE(of, fsl_mc_bus_match_table);
 static struct platform_driver fsl_mc_bus_driver = {
 	.driver = {
 		   .name = "fsl_mc_bus",
-		   .owner = THIS_MODULE,
 		   .pm = NULL,
 		   .of_match_table = fsl_mc_bus_match_table,
 		   },
Signature · 1 line
1.9.1