From: Christian Lütke-Stetzkamp <christ...@lkamp.de>

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

Signed-off-by: Christian Lütke-Stetzkamp <christ...@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 .../patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/target/linux/ramips/patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch 
b/target/linux/ramips/patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch
index 3e5dac5376..41b611d120 100644
--- 
a/target/linux/ramips/patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch
+++ 
b/target/linux/ramips/patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch
@@ -49,7 +49,7 @@ Signed-off-by: John Crispin <blo...@openwrt.org>
  obj-$(CONFIG_PINCTRL_SIRF)    += sirf/
 --- /dev/null
 +++ b/drivers/pinctrl/pinctrl-rt2880.c
-@@ -0,0 +1,472 @@
+@@ -0,0 +1,471 @@
 +/*
 + *  linux/drivers/pinctrl/pinctrl-rt2880.c
 + *
@@ -511,7 +511,6 @@ Signed-off-by: John Crispin <blo...@openwrt.org>
 +      .probe = rt2880_pinmux_probe,
 +      .driver = {
 +              .name = "rt2880-pinmux",
-+              .owner = THIS_MODULE,
 +              .of_match_table = rt2880_pinmux_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