[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180320074558.7851-1-hariprasath.elango@gmail.com>
Date: Tue, 20 Mar 2018 13:15:54 +0530
From: hariprasath.elango@...il.com
To: blogic@...nwrt.org, gregkh@...uxfoundation.org
Cc: gehariprasath@...il.com,
HariPrasath Elango <hariprasath.elango@...il.com>,
NeilBrown <neil@...wn.name>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers
From: HariPrasath Elango <hariprasath.elango@...il.com>
Remove the reduntant owner initialization from this platform driver as
the platform_driver_register() takes care of it.
Signed-off-by: HariPrasath Elango <hariprasath.elango@...il.com>
---
drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
index 5c57abe..830d429 100644
--- a/drivers/staging/mt7621-gpio/gpio-mt7621.c
+++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c
@@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
.probe = mediatek_gpio_probe,
.driver = {
.name = "mt7621_gpio",
- .owner = THIS_MODULE,
.of_match_table = mediatek_gpio_match,
},
};
--
2.10.0.GIT
Powered by blists - more mailing lists