From: HariPrasath Elango <hariprasath.ela...@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.ela...@gmail.com>
Reviewed-by: NeilBrown <n...@brown.name>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 .../0028-GPIO-ralink-add-mt7621-gpio-controller.patch          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
 
b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
index d657274efe..ea341dc33c 100644
--- 
a/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
+++ 
b/target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch
@@ -48,7 +48,7 @@ Signed-off-by: John Crispin <blo...@openwrt.org>
 +obj-$(CONFIG_GPIO_MT7621)     += gpio-mt7621.o
 --- /dev/null
 +++ b/drivers/gpio/gpio-mt7621.c
-@@ -0,0 +1,354 @@
+@@ -0,0 +1,353 @@
 +/*
 + * This program is free software; you can redistribute it and/or modify it
 + * under the terms of the GNU General Public License version 2 as published
@@ -391,7 +391,6 @@ Signed-off-by: John Crispin <blo...@openwrt.org>
 +      .probe = mediatek_gpio_probe,
 +      .driver = {
 +              .name = "mt7621_gpio",
-+              .owner = THIS_MODULE,
 +              .of_match_table = mediatek_gpio_match,
 +      },
 +};
-- 
2.17.0


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to