All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers
@ 2018-03-20  7:45 hariprasath.elango
  2018-03-20 22:26 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: hariprasath.elango @ 2018-03-20  7:45 UTC (permalink / raw)
  To: blogic, gregkh
  Cc: gehariprasath, HariPrasath Elango, NeilBrown, devel, linux-kernel

From: HariPrasath Elango <hariprasath.elango@gmail.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@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-20 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20  7:45 [PATCH] staging: mt7621-gpio: remove redundant owner assignments of drivers hariprasath.elango
2018-03-20 22:26 ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.