[LEDE-DEV] [PATCH 4/4] staging: mt7621-pinctrl: Remove redundant owner assignment
Rosen Penev
rosenp at gmail.com
Wed May 16 17:42:28 PDT 2018
From: Christian Lütke-Stetzkamp <christian at 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 <christian at lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh at 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 <blogic at 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 <blogic at openwrt.org>
+ .probe = rt2880_pinmux_probe,
+ .driver = {
+ .name = "rt2880-pinmux",
-+ .owner = THIS_MODULE,
+ .of_match_table = rt2880_pinmux_match,
+ },
+};
--
2.17.0
More information about the Lede-dev
mailing list