[PATCH 17/34] staging: mt7621-mmc: Remove redundant driver owner assignment

Christian Lütke-Stetzkamp christian at lkamp.de
Mon Apr 2 16:45:19 UTC 2018


Remove the owner assignment form the platform driver as
platform_driver_register() already initializes the owner.

Signed-off-by: Christian Lütke-Stetzkamp <christian at lkamp.de>
---
 drivers/staging/mt7621-mmc/sd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index 3be653dc1d4a..ed89ec9733a4 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -2972,7 +2972,6 @@ static struct platform_driver mt_msdc_driver = {
 #endif
 	.driver  = {
 		.name  = DRV_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = mt7620_sdhci_match,
 	},
 };
-- 
2.16.1



More information about the devel mailing list