treewide: remove THIS_MODULE assignment
authorRosen Penev <rosenp@gmail.com>
Thu, 31 Oct 2024 19:22:04 +0000 (12:22 -0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 10 Nov 2024 01:16:31 +0000 (02:16 +0100)
Matches upstream coccinelle check: api/platform_no_drv_owner.cocci.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16846
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
33 files changed:
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
package/kernel/gpio-nct5104d/src/gpio-nct5104d.c
package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c
package/kernel/lantiq/ltq-adsl/patches/120-platform.patch
package/kernel/lantiq/ltq-atm/src/ltq_atm.c
package/kernel/lantiq/ltq-deu/src/ifxmips_deu.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c
package/kernel/ubootenv-nvram/src/ubootenv-nvram.c
target/linux/ath79/files/drivers/gpio/gpio-latch-mikrotik.c
target/linux/ath79/files/drivers/gpio/gpio-rb91x-key.c
target/linux/ath79/files/drivers/mtd/nand/raw/ar934x_nand.c
target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c
target/linux/bcm47xx/patches-6.6/831-old_gpio_wdt.patch
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c
target/linux/generic/files/drivers/net/phy/rtl8367.c
target/linux/generic/files/drivers/net/phy/rtl8367b.c
target/linux/generic/hack-6.6/800-GPIO-add-named-gpio-exports.patch
target/linux/generic/pending-6.6/510-block-add-uImage.FIT-subimage-block-driver.patch
target/linux/ipq40xx/patches-6.6/850-soc-add-qualcomm-syscon.patch
target/linux/ipq806x/patches-6.6/850-soc-add-qualcomm-syscon.patch
target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch
target/linux/lantiq/patches-6.6/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
target/linux/lantiq/patches-6.6/0151-lantiq-ifxmips_pcie-use-of.patch
target/linux/mediatek/files/drivers/net/phy/rtk/rtl8367s_mdio.c
target/linux/qualcommax/patches-6.6/0900-power-Add-Qualcomm-APM.patch
target/linux/qualcommax/patches-6.6/0901-regulator-add-Qualcomm-CPR-regulators.patch
target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3050.c
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
target/linux/siflower/files-6.6/drivers/gpio/gpio-siflower.c

index 52346c25d98a3ce8df626f13f7da335a1d300528..9876dee90fc8211aa69321a2bfbc9344ae6016e3 100644 (file)
@@ -693,7 +693,6 @@ static struct platform_driver gpio_keys_driver = {
        .remove = gpio_keys_remove,
        .driver = {
                .name   = "gpio-keys",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(gpio_keys_of_match),
        },
 };
@@ -703,7 +702,6 @@ static struct platform_driver gpio_keys_polled_driver = {
        .remove = gpio_keys_remove,
        .driver = {
                .name   = "gpio-keys-polled",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(gpio_keys_polled_of_match),
        },
 };
index e31a94b5cfb20d4669e0f3088add5e9611ebfa2d..ffeab29eda2efaa3ff63c8ecb4739c6b232dba35 100644 (file)
@@ -366,7 +366,6 @@ err:
 
 static struct platform_driver nct5104d_gpio_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = DRVNAME,
        },
        .probe          = nct5104d_gpio_probe,
index ba23232ee9429cf756515a0a99c41b1789fd9ae8..20a63716a310ea4735c8960533ecb87ce29da4cf 100644 (file)
@@ -2807,7 +2807,6 @@ static struct platform_driver ltq_mei_driver = {
        .remove = ltq_mei_remove,
        .driver = {
                .name = "lantiq,mei-xway",
-               .owner = THIS_MODULE,
                .of_match_table = ltq_mei_match,
        },
 };
index 7bbcf35cd2834cce2d7616aeaab904ebfe792a9c..69f2b45e321cd3865192693c57b42c26d8f1f242 100644 (file)
@@ -36,7 +36,7 @@
  }
  
  #ifndef _lint
-@@ -1159,8 +1159,30 @@ module_param(debug_level, byte, 0);
+@@ -1159,8 +1159,29 @@ module_param(debug_level, byte, 0);
  MODULE_PARM_DESC(debug_level, "set to get more (1) or fewer (4) debug outputs");
  #endif /* #ifndef DSL_DEBUG_DISABLE*/
  
@@ -59,7 +59,6 @@
 +      .remove = __devexit_p(ltq_adsl_remove),
 +      .driver = {
 +              .name = "adsl",
-+              .owner = THIS_MODULE,
 +              .of_match_table = ltq_adsl_match,
 +      },
 +};
index 0cb49a59bd0e4d814494dc466b4b7e5b74f39849..6b1e0321b3ee179109556be82dfec3cbf983a478 100644 (file)
@@ -1894,7 +1894,6 @@ static struct platform_driver ltq_atm_driver = {
        .remove = ltq_atm_remove,
        .driver = {
                .name = "atm",
-               .owner = THIS_MODULE,
                .of_match_table = ltq_atm_match,
        },
 };
index 096b8b5bba83fb71ed0efc6d5369018e85479930..e44e84c03cd7a32b3ad10e57b64d5ffc4b4194ec 100644 (file)
@@ -196,7 +196,6 @@ static struct platform_driver ltq_deu_driver = {
        .remove = ltq_deu_remove,
        .driver = {
                .name = "deu",
-               .owner = THIS_MODULE,
                .of_match_table = ltq_deu_match,
        },
 };
index 3ff01d588ad24a79f5a96f8c75e19426dcf61467..5e5535348d832f46319b5247d851b40a4a4dd76c 100644 (file)
@@ -1600,7 +1600,6 @@ static struct platform_driver ltq_ptm_driver = {
        .remove = ltq_ptm_remove,
        .driver = {
                .name = "ptm",
-               .owner = THIS_MODULE,
                .of_match_table = ltq_ptm_match,
        },
 };
index 6731904bba9a85f79fdf73c1f91aa355277f815f..c5bbd9fd874594853541c5e2ce246b08b666583a 100644 (file)
@@ -1138,7 +1138,6 @@ static struct platform_driver ltq_ptm_driver = {
        .remove = ltq_ptm_remove,
        .driver = {
                .name = "ptm",
-               .owner = THIS_MODULE,
                .of_match_table = ltq_ptm_match,
        },
 };
index f6244142167b0b9a266746e89de901f26f84dd9b..106e41231c90944c400f9303b5696ce3f0e2ed61 100644 (file)
@@ -146,7 +146,6 @@ static struct platform_driver ubootenv_driver = {
        .remove = ubootenv_remove,
        .driver = {
                .name           = NAME,
-               .owner          = THIS_MODULE,
                .of_match_table = of_ubootenv_match,
        },
 };
index 4baed52e5799feccfc44de90fc5b24c3847d7548..a0759fe9e37172306cf1e697f3487be8850a3bd8 100644 (file)
@@ -168,7 +168,6 @@ static struct platform_driver gpio_latch_driver = {
        .probe = gpio_latch_probe,
        .driver = {
                .name = GPIO_LATCH_DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = gpio_latch_match,
        },
 };
index 02639cf0115d3b2b299372c4fddaf543970667db..d83b690afeccfdbac966dad1238e16625c3b991d 100644 (file)
@@ -182,7 +182,6 @@ static struct platform_driver gpio_rb91x_key_driver = {
        .probe = gpio_rb91x_key_probe,
        .driver = {
                .name = GPIO_RB91X_KEY_DRIVER_NAME,
-               .owner = THIS_MODULE,
                .of_match_table = gpio_rb91x_key_match,
        },
 };
index d0d9e2090ba8020a7350f9c169c1748b5d43582f..029142ca618abdd219187679f2dc7e08821da2ce 100644 (file)
@@ -1478,7 +1478,6 @@ static struct platform_driver ar934x_nfc_driver = {
        .remove         = ar934x_nfc_remove,
        .driver = {
                .name   = AR934X_NFC_DRIVER_NAME,
-               .owner  = THIS_MODULE,
                .of_match_table = ar934x_nfc_match,
        },
 };
index 092cd85d82e117638cb42ab36dab6c82e23ec9f7..cf2809bfa36678a8a5271b4628050f4a05dc179a 100644 (file)
@@ -356,7 +356,6 @@ static struct platform_driver rb91x_nand_driver = {
        .remove = rb91x_nand_remove,
        .driver = {
                .name   = "rb91x-nand",
-               .owner  = THIS_MODULE,
                .of_match_table = rb91x_nand_match,
        },
 };
index 6c76cbeee7fb656ec30c7d180fe69cb4a84c3b89..f7ab33802c698feb557c2e2d2d57787695f8053c 100644 (file)
@@ -32,7 +32,7 @@ Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
 --- /dev/null
 +++ b/drivers/watchdog/old_gpio_wdt.c
-@@ -0,0 +1,301 @@
+@@ -0,0 +1,300 @@
 +/*
 + *      Driver for GPIO-controlled Hardware Watchdogs.
 + *
@@ -294,7 +294,6 @@ Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
 +      .probe = gpio_wdt_probe,
 +      .remove = gpio_wdt_remove,
 +      .driver.name = "gpio-wdt",
-+      .driver.owner = THIS_MODULE,
 +};
 +
 +static int __init gpio_wdt_init(void)
index 0e0116051a8cb377667124b08ae7ee4ede4a0d0b..0878ca9f1400cf3d214165b37a6f67976d9de57c 100644 (file)
@@ -1503,7 +1503,6 @@ MODULE_DEVICE_TABLE(of, rtl8366rb_match);
 static struct platform_driver rtl8366rb_driver = {
        .driver = {
                .name           = RTL8366RB_DRIVER_NAME,
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(rtl8366rb_match),
        },
        .probe          = rtl8366rb_probe,
index 8c746778b8f820d94756a7a7ee40c91d7ea6217d..d4045fcc06225956b9827e44123c548a6d96abe9 100644 (file)
@@ -1291,7 +1291,6 @@ MODULE_DEVICE_TABLE(of, rtl8366s_match);
 static struct platform_driver rtl8366s_driver = {
        .driver = {
                .name           = RTL8366S_DRIVER_NAME,
-               .owner          = THIS_MODULE,
 #ifdef CONFIG_OF
                .of_match_table = of_match_ptr(rtl8366s_match),
 #endif
index 0acfeb54bba58784d31a025f74483c5e465f78c9..950e9d2767d9ecdc794e3440677aaa070607b11d 100644 (file)
@@ -1834,7 +1834,6 @@ MODULE_DEVICE_TABLE(of, rtl8367_match);
 static struct platform_driver rtl8367_driver = {
        .driver = {
                .name           = RTL8367_DRIVER_NAME,
-               .owner          = THIS_MODULE,
 #ifdef CONFIG_OF
                .of_match_table = of_match_ptr(rtl8367_match),
 #endif
index 4236912dd51e4748c758f2508306f8e065f74b0f..5f885aa5be8cd575fd09c9f0f27c82ffce1964c2 100644 (file)
@@ -1633,7 +1633,6 @@ MODULE_DEVICE_TABLE(of, rtl8367b_match);
 static struct platform_driver rtl8367b_driver = {
        .driver = {
                .name           = RTL8367B_DRIVER_NAME,
-               .owner          = THIS_MODULE,
 #ifdef CONFIG_OF
                .of_match_table = of_match_ptr(rtl8367b_match),
 #endif
index a1d787191ccdaeeecf69303609c7a89a72254081..e6dcdfd92b6a1b88653154bab8974c8e04e8c56f 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  
  #include "gpiolib.h"
  #include "gpiolib-of.h"
-@@ -1129,3 +1131,74 @@ void of_gpiochip_remove(struct gpio_chip
+@@ -1129,3 +1131,73 @@ void of_gpiochip_remove(struct gpio_chip
  {
        of_node_put(dev_of_node(&chip->gpiodev->dev));
  }
@@ -81,7 +81,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +static struct platform_driver gpio_export_driver = {
 +      .driver         = {
 +              .name           = "gpio-export",
-+              .owner  = THIS_MODULE,
 +              .of_match_table = of_match_ptr(gpio_export_ids),
 +      },
 +      .probe          = of_gpio_export_probe,
index ff38964ecee8bf69a01c380a4520bf67e0311569..b06c29ffaf18c4f46152f6b21d34c1e7e1d9d02a 100644 (file)
@@ -81,7 +81,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  swim_mod-y    := swim.o swim_asm.o
 --- /dev/null
 +++ b/drivers/block/fitblk.c
-@@ -0,0 +1,659 @@
+@@ -0,0 +1,658 @@
 +// SPDX-License-Identifier: GPL-2.0-only
 +/*
 + * uImage.FIT virtual block device driver.
@@ -714,7 +714,6 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +      .probe          = fitblk_probe,
 +      .driver         = {
 +              .name   = "fitblk",
-+              .owner   = THIS_MODULE,
 +      },
 +};
 +
index 0e93ebb646b510cab0b9a7fc3bbbdf398d89e5c8..7cd473b24eb299213b01ece3d8b7d8b018b3f9fe 100644 (file)
@@ -23,7 +23,7 @@ Subject: SoC: add qualcomm syscon
 +obj-$(CONFIG_QCOM_TCSR)               += qcom_tcsr.o
 --- /dev/null
 +++ b/drivers/soc/qcom/qcom_tcsr.c
-@@ -0,0 +1,96 @@
+@@ -0,0 +1,95 @@
 +/*
 + * Copyright (c) 2014, The Linux foundation. All rights reserved.
 + *
@@ -109,7 +109,6 @@ Subject: SoC: add qualcomm syscon
 +static struct platform_driver tcsr_driver = {
 +      .driver = {
 +              .name           = "tcsr",
-+              .owner          = THIS_MODULE,
 +              .of_match_table = tcsr_dt_match,
 +      },
 +      .probe = tcsr_probe,
index 8b49af8e84f5a379eec9edde6b0de2709c15fdf6..2d639bbfd386fd032476bc855d2e915a449a3c55 100644 (file)
@@ -28,7 +28,7 @@ Subject: SoC: add qualcomm syscon
        depends on ARCH_QCOM || COMPILE_TEST
 --- /dev/null
 +++ b/drivers/soc/qcom/qcom_tcsr.c
-@@ -0,0 +1,62 @@
+@@ -0,0 +1,61 @@
 +/*
 + * Copyright (c) 2014, The Linux foundation. All rights reserved.
 + *
@@ -80,7 +80,6 @@ Subject: SoC: add qualcomm syscon
 +static struct platform_driver tcsr_driver = {
 +      .driver = {
 +              .name           = "tcsr",
-+              .owner          = THIS_MODULE,
 +              .of_match_table = tcsr_dt_match,
 +      },
 +      .probe = tcsr_probe,
index 3e6c2676855e5e8d57f937e85cfa794e40689c0a..81bf72913b66f47839daf43c0f23009e2a337559 100644 (file)
@@ -186,7 +186,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  obj-y += vmmc.o
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/timer.c
-@@ -0,0 +1,887 @@
+@@ -0,0 +1,886 @@
 +#ifndef CONFIG_SOC_AMAZON_SE
 +
 +#include <linux/kernel.h>
@@ -1043,7 +1043,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      .probe = gptu_probe,
 +      .driver = {
 +              .name = "gptu-xway",
-+              .owner = THIS_MODULE,
 +              .of_match_table = gptu_match,
 +      },
 +};
index 1992b536f4c11a0b8056e234cc5a9974405c3d60..235e48f6deb0ffbf3a9a966de73a684abe90fe7f 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  obj-$(CONFIG_I2C_MESON)               += i2c-meson.o
 --- /dev/null
 +++ b/drivers/i2c/busses/i2c-lantiq.c
-@@ -0,0 +1,746 @@
+@@ -0,0 +1,745 @@
 +
 +/*
 + * Lantiq I2C bus adapter
@@ -782,7 +782,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      .remove = ltq_i2c_remove,
 +      .driver = {
 +              .name   = DRV_NAME,
-+              .owner  = THIS_MODULE,
 +              .of_match_table = ltq_i2c_match,
 +      },
 +};
index 8bb6e5a0da25b4077fa2a3a3f3e006875e239a3e..3ece97052b4e4a1f3616374c6b2198e46779b5be 100644 (file)
@@ -36,7 +36,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +obj-$(CONFIG_PCI) += ath5k_eep.o
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/ath5k_eep.c
-@@ -0,0 +1,136 @@
+@@ -0,0 +1,135 @@
 +/*
 + *  Copyright (C) 2011 Luca Olivetti <luca@ventoso.org>
 + *  Copyright (C) 2011 John Crispin <blogic@openwrt.org>
@@ -149,7 +149,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +static struct platform_driver ath5k_eeprom_driver = {
 +      .driver         = {
 +              .name           = "ath5k,eeprom",
-+              .owner  = THIS_MODULE,
 +              .of_match_table = of_match_ptr(ath5k_eeprom_ids),
 +      },
 +};
index b83bf992a6ef50f1ab59bf060b752d39feadd5d9..65253bc7e440a6d4bf3e0fef46b9f4b4b7ab5259 100644 (file)
@@ -293,7 +293,7 @@ Signed-off-by: Eddi De Pieri <eddi@depieri.net>
  
              register_pci_controller(&ifx_pcie_controller[pcie_port].pcic);
              /* XXX, clear error status */
-@@ -1083,6 +1185,30 @@ static int __init ifx_pcie_bios_init(voi
+@@ -1083,6 +1185,29 @@ static int __init ifx_pcie_bios_init(voi
  
      return 0;
  }
@@ -308,7 +308,6 @@ Signed-off-by: Eddi De Pieri <eddi@depieri.net>
 +        .probe = ifx_pcie_bios_probe,
 +        .driver = {
 +                .name = "pcie-xrx200",
-+                .owner = THIS_MODULE,
 +                .of_match_table = ifxmips_pcie_match,
 +        },
 +};
index b4d4554d4fef511b48f5ac282b02cfa8706051f3..d958d622e0c28c85fe5d829fb1f51a5ee12a0227 100644 (file)
@@ -296,7 +296,6 @@ static struct platform_driver gsw_driver = {
        .remove = rtk_gsw_remove,
        .driver = {
                .name = "rtk-gsw",
-               .owner = THIS_MODULE,
                .of_match_table = rtk_gsw_match,
        },
 };
index 2e5c72b7d1f6b78cdc940ab9125f5c49ba10b4e4..f1053515844ada1ba16ffd8a0b9e6f6023a06588 100644 (file)
@@ -49,7 +49,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
 +obj-$(CONFIG_QCOM_APM)                += apm.o
 --- /dev/null
 +++ b/drivers/power/qcom/apm.c
-@@ -0,0 +1,944 @@
+@@ -0,0 +1,943 @@
 +/*
 + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 + *
@@ -971,7 +971,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
 +      .driver         = {
 +              .name           = MSM_APM_DRIVER_NAME,
 +              .of_match_table = msm_apm_match_table,
-+              .owner          = THIS_MODULE,
 +      },
 +      .probe          = msm_apm_probe,
 +      .remove         = msm_apm_remove,
index c85be0357c1fad30437ddf46f85f94ab7d65f84f..46d4fc246fbdc16ac7d55a69887205273e951e23 100644 (file)
@@ -77,7 +77,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
  obj-$(CONFIG_REGULATOR_PF8X00) += pf8x00-regulator.o
 --- /dev/null
 +++ b/drivers/regulator/cpr3-npu-regulator.c
-@@ -0,0 +1,695 @@
+@@ -0,0 +1,694 @@
 +/*
 + * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 + *
@@ -752,7 +752,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
 +      .driver         = {
 +              .name           = "qcom,cpr3-npu-regulator",
 +              .of_match_table = cpr3_regulator_match_table,
-+              .owner          = THIS_MODULE,
 +      },
 +      .probe          = cpr3_npu_regulator_probe,
 +      .remove         = cpr3_npu_regulator_remove,
@@ -9866,7 +9865,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
 +}
 --- /dev/null
 +++ b/drivers/regulator/cpr4-apss-regulator.c
-@@ -0,0 +1,1819 @@
+@@ -0,0 +1,1818 @@
 +/*
 + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 + *
@@ -11663,7 +11662,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
 +      .driver         = {
 +              .name           = "qcom,cpr4-apss-regulator",
 +              .of_match_table = cpr4_regulator_match_table,
-+              .owner          = THIS_MODULE,
 +      },
 +      .probe          = cpr4_apss_regulator_probe,
 +      .remove         = cpr4_apss_regulator_remove,
index cafa28e7a44f5ef74094aa96950f7ec109d3c84e..bbb52d74b240a2f25e57ec96f5bab4f33085b987 100644 (file)
@@ -1525,7 +1525,6 @@ static struct platform_driver esw_driver = {
        .remove = esw_remove,
        .driver = {
                .name = "rt3050-esw",
-               .owner = THIS_MODULE,
                .of_match_table = ralink_esw_match,
        },
 };
index 9fc54a74b42337851c2af60338603c6faccdeb61..154983494ee1aa47e6705062189910b3729b7d2e 100644 (file)
@@ -296,7 +296,6 @@ static struct platform_driver gsw_driver = {
        .remove = mt7620_gsw_remove,
        .driver = {
                .name = "mt7620-gsw",
-               .owner = THIS_MODULE,
                .of_match_table = mediatek_gsw_match,
        },
 };
index d8d27fda3b15d9537cd28b3dcc6ceed5b0692faf..4dff1340d7057172297a6bd77d6a24a1f51b2eeb 100644 (file)
@@ -1657,7 +1657,6 @@ static struct platform_driver fe_driver = {
        .remove = fe_remove,
        .driver = {
                .name = "mtk_soc_eth",
-               .owner = THIS_MODULE,
                .of_match_table = of_fe_match,
        },
 };
index f061021e30a58f114dd2eaa93edd1e24d3e441c5..bd3d8906b4454053d289068e7750692a0d0986bb 100644 (file)
@@ -333,7 +333,6 @@ static struct platform_driver sf_gpio_driver = {
        .remove         = sf_gpio_remove,
        .driver = {
                .name           = "siflower_gpio",
-               .owner          = THIS_MODULE,
                .of_match_table = sf_gpio_ids,
        },
 };