mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
treewide: remove THIS_MODULE assignment
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>
This commit is contained in:
parent
8b6d5874b8
commit
cc98cfafd7
@ -693,7 +693,6 @@ static struct platform_driver gpio_keys_driver = {
|
|||||||
.remove = gpio_keys_remove,
|
.remove = gpio_keys_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "gpio-keys",
|
.name = "gpio-keys",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(gpio_keys_of_match),
|
.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,
|
.remove = gpio_keys_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "gpio-keys-polled",
|
.name = "gpio-keys-polled",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(gpio_keys_polled_of_match),
|
.of_match_table = of_match_ptr(gpio_keys_polled_of_match),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -366,7 +366,6 @@ err:
|
|||||||
|
|
||||||
static struct platform_driver nct5104d_gpio_driver = {
|
static struct platform_driver nct5104d_gpio_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = DRVNAME,
|
.name = DRVNAME,
|
||||||
},
|
},
|
||||||
.probe = nct5104d_gpio_probe,
|
.probe = nct5104d_gpio_probe,
|
||||||
|
@ -2807,7 +2807,6 @@ static struct platform_driver ltq_mei_driver = {
|
|||||||
.remove = ltq_mei_remove,
|
.remove = ltq_mei_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "lantiq,mei-xway",
|
.name = "lantiq,mei-xway",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ltq_mei_match,
|
.of_match_table = ltq_mei_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _lint
|
#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");
|
MODULE_PARM_DESC(debug_level, "set to get more (1) or fewer (4) debug outputs");
|
||||||
#endif /* #ifndef DSL_DEBUG_DISABLE*/
|
#endif /* #ifndef DSL_DEBUG_DISABLE*/
|
||||||
|
|
||||||
@ -59,7 +59,6 @@
|
|||||||
+ .remove = __devexit_p(ltq_adsl_remove),
|
+ .remove = __devexit_p(ltq_adsl_remove),
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "adsl",
|
+ .name = "adsl",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = ltq_adsl_match,
|
+ .of_match_table = ltq_adsl_match,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
@ -1894,7 +1894,6 @@ static struct platform_driver ltq_atm_driver = {
|
|||||||
.remove = ltq_atm_remove,
|
.remove = ltq_atm_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "atm",
|
.name = "atm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ltq_atm_match,
|
.of_match_table = ltq_atm_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -196,7 +196,6 @@ static struct platform_driver ltq_deu_driver = {
|
|||||||
.remove = ltq_deu_remove,
|
.remove = ltq_deu_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "deu",
|
.name = "deu",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ltq_deu_match,
|
.of_match_table = ltq_deu_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1600,7 +1600,6 @@ static struct platform_driver ltq_ptm_driver = {
|
|||||||
.remove = ltq_ptm_remove,
|
.remove = ltq_ptm_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ptm",
|
.name = "ptm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ltq_ptm_match,
|
.of_match_table = ltq_ptm_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1138,7 +1138,6 @@ static struct platform_driver ltq_ptm_driver = {
|
|||||||
.remove = ltq_ptm_remove,
|
.remove = ltq_ptm_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ptm",
|
.name = "ptm",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ltq_ptm_match,
|
.of_match_table = ltq_ptm_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -146,7 +146,6 @@ static struct platform_driver ubootenv_driver = {
|
|||||||
.remove = ubootenv_remove,
|
.remove = ubootenv_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = NAME,
|
.name = NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_ubootenv_match,
|
.of_match_table = of_ubootenv_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -168,7 +168,6 @@ static struct platform_driver gpio_latch_driver = {
|
|||||||
.probe = gpio_latch_probe,
|
.probe = gpio_latch_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = GPIO_LATCH_DRIVER_NAME,
|
.name = GPIO_LATCH_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = gpio_latch_match,
|
.of_match_table = gpio_latch_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -182,7 +182,6 @@ static struct platform_driver gpio_rb91x_key_driver = {
|
|||||||
.probe = gpio_rb91x_key_probe,
|
.probe = gpio_rb91x_key_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = GPIO_RB91X_KEY_DRIVER_NAME,
|
.name = GPIO_RB91X_KEY_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = gpio_rb91x_key_match,
|
.of_match_table = gpio_rb91x_key_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1478,7 +1478,6 @@ static struct platform_driver ar934x_nfc_driver = {
|
|||||||
.remove = ar934x_nfc_remove,
|
.remove = ar934x_nfc_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = AR934X_NFC_DRIVER_NAME,
|
.name = AR934X_NFC_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ar934x_nfc_match,
|
.of_match_table = ar934x_nfc_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -356,7 +356,6 @@ static struct platform_driver rb91x_nand_driver = {
|
|||||||
.remove = rb91x_nand_remove,
|
.remove = rb91x_nand_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rb91x-nand",
|
.name = "rb91x-nand",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = rb91x_nand_match,
|
.of_match_table = rb91x_nand_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -32,7 +32,7 @@ Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
|
|||||||
obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
|
obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/watchdog/old_gpio_wdt.c
|
+++ b/drivers/watchdog/old_gpio_wdt.c
|
||||||
@@ -0,0 +1,301 @@
|
@@ -0,0 +1,300 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Driver for GPIO-controlled Hardware Watchdogs.
|
+ * Driver for GPIO-controlled Hardware Watchdogs.
|
||||||
+ *
|
+ *
|
||||||
@ -294,7 +294,6 @@ Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
|
|||||||
+ .probe = gpio_wdt_probe,
|
+ .probe = gpio_wdt_probe,
|
||||||
+ .remove = gpio_wdt_remove,
|
+ .remove = gpio_wdt_remove,
|
||||||
+ .driver.name = "gpio-wdt",
|
+ .driver.name = "gpio-wdt",
|
||||||
+ .driver.owner = THIS_MODULE,
|
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+static int __init gpio_wdt_init(void)
|
+static int __init gpio_wdt_init(void)
|
||||||
|
@ -1503,7 +1503,6 @@ MODULE_DEVICE_TABLE(of, rtl8366rb_match);
|
|||||||
static struct platform_driver rtl8366rb_driver = {
|
static struct platform_driver rtl8366rb_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = RTL8366RB_DRIVER_NAME,
|
.name = RTL8366RB_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(rtl8366rb_match),
|
.of_match_table = of_match_ptr(rtl8366rb_match),
|
||||||
},
|
},
|
||||||
.probe = rtl8366rb_probe,
|
.probe = rtl8366rb_probe,
|
||||||
|
@ -1291,7 +1291,6 @@ MODULE_DEVICE_TABLE(of, rtl8366s_match);
|
|||||||
static struct platform_driver rtl8366s_driver = {
|
static struct platform_driver rtl8366s_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = RTL8366S_DRIVER_NAME,
|
.name = RTL8366S_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
.of_match_table = of_match_ptr(rtl8366s_match),
|
.of_match_table = of_match_ptr(rtl8366s_match),
|
||||||
#endif
|
#endif
|
||||||
|
@ -1834,7 +1834,6 @@ MODULE_DEVICE_TABLE(of, rtl8367_match);
|
|||||||
static struct platform_driver rtl8367_driver = {
|
static struct platform_driver rtl8367_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = RTL8367_DRIVER_NAME,
|
.name = RTL8367_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
.of_match_table = of_match_ptr(rtl8367_match),
|
.of_match_table = of_match_ptr(rtl8367_match),
|
||||||
#endif
|
#endif
|
||||||
|
@ -1633,7 +1633,6 @@ MODULE_DEVICE_TABLE(of, rtl8367b_match);
|
|||||||
static struct platform_driver rtl8367b_driver = {
|
static struct platform_driver rtl8367b_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = RTL8367B_DRIVER_NAME,
|
.name = RTL8367B_DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
.of_match_table = of_match_ptr(rtl8367b_match),
|
.of_match_table = of_match_ptr(rtl8367b_match),
|
||||||
#endif
|
#endif
|
||||||
|
@ -15,7 +15,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
|
|
||||||
#include "gpiolib.h"
|
#include "gpiolib.h"
|
||||||
#include "gpiolib-of.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));
|
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 = {
|
+static struct platform_driver gpio_export_driver = {
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "gpio-export",
|
+ .name = "gpio-export",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = of_match_ptr(gpio_export_ids),
|
+ .of_match_table = of_match_ptr(gpio_export_ids),
|
||||||
+ },
|
+ },
|
||||||
+ .probe = of_gpio_export_probe,
|
+ .probe = of_gpio_export_probe,
|
||||||
|
@ -81,7 +81,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
swim_mod-y := swim.o swim_asm.o
|
swim_mod-y := swim.o swim_asm.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/block/fitblk.c
|
+++ b/drivers/block/fitblk.c
|
||||||
@@ -0,0 +1,659 @@
|
@@ -0,0 +1,658 @@
|
||||||
+// SPDX-License-Identifier: GPL-2.0-only
|
+// SPDX-License-Identifier: GPL-2.0-only
|
||||||
+/*
|
+/*
|
||||||
+ * uImage.FIT virtual block device driver.
|
+ * uImage.FIT virtual block device driver.
|
||||||
@ -714,7 +714,6 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|||||||
+ .probe = fitblk_probe,
|
+ .probe = fitblk_probe,
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "fitblk",
|
+ .name = "fitblk",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
|
@ -23,7 +23,7 @@ Subject: SoC: add qualcomm syscon
|
|||||||
+obj-$(CONFIG_QCOM_TCSR) += qcom_tcsr.o
|
+obj-$(CONFIG_QCOM_TCSR) += qcom_tcsr.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/soc/qcom/qcom_tcsr.c
|
+++ b/drivers/soc/qcom/qcom_tcsr.c
|
||||||
@@ -0,0 +1,96 @@
|
@@ -0,0 +1,95 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
|
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
@ -109,7 +109,6 @@ Subject: SoC: add qualcomm syscon
|
|||||||
+static struct platform_driver tcsr_driver = {
|
+static struct platform_driver tcsr_driver = {
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "tcsr",
|
+ .name = "tcsr",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = tcsr_dt_match,
|
+ .of_match_table = tcsr_dt_match,
|
||||||
+ },
|
+ },
|
||||||
+ .probe = tcsr_probe,
|
+ .probe = tcsr_probe,
|
||||||
|
@ -28,7 +28,7 @@ Subject: SoC: add qualcomm syscon
|
|||||||
depends on ARCH_QCOM || COMPILE_TEST
|
depends on ARCH_QCOM || COMPILE_TEST
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/soc/qcom/qcom_tcsr.c
|
+++ b/drivers/soc/qcom/qcom_tcsr.c
|
||||||
@@ -0,0 +1,62 @@
|
@@ -0,0 +1,61 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
|
+ * Copyright (c) 2014, The Linux foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
@ -80,7 +80,6 @@ Subject: SoC: add qualcomm syscon
|
|||||||
+static struct platform_driver tcsr_driver = {
|
+static struct platform_driver tcsr_driver = {
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "tcsr",
|
+ .name = "tcsr",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = tcsr_dt_match,
|
+ .of_match_table = tcsr_dt_match,
|
||||||
+ },
|
+ },
|
||||||
+ .probe = tcsr_probe,
|
+ .probe = tcsr_probe,
|
||||||
|
@ -186,7 +186,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
obj-y += vmmc.o
|
obj-y += vmmc.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/mips/lantiq/xway/timer.c
|
+++ b/arch/mips/lantiq/xway/timer.c
|
||||||
@@ -0,0 +1,887 @@
|
@@ -0,0 +1,886 @@
|
||||||
+#ifndef CONFIG_SOC_AMAZON_SE
|
+#ifndef CONFIG_SOC_AMAZON_SE
|
||||||
+
|
+
|
||||||
+#include <linux/kernel.h>
|
+#include <linux/kernel.h>
|
||||||
@ -1043,7 +1043,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+ .probe = gptu_probe,
|
+ .probe = gptu_probe,
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "gptu-xway",
|
+ .name = "gptu-xway",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = gptu_match,
|
+ .of_match_table = gptu_match,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
@ -47,7 +47,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
obj-$(CONFIG_I2C_MESON) += i2c-meson.o
|
obj-$(CONFIG_I2C_MESON) += i2c-meson.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/i2c/busses/i2c-lantiq.c
|
+++ b/drivers/i2c/busses/i2c-lantiq.c
|
||||||
@@ -0,0 +1,746 @@
|
@@ -0,0 +1,745 @@
|
||||||
+
|
+
|
||||||
+/*
|
+/*
|
||||||
+ * Lantiq I2C bus adapter
|
+ * Lantiq I2C bus adapter
|
||||||
@ -782,7 +782,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+ .remove = ltq_i2c_remove,
|
+ .remove = ltq_i2c_remove,
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = DRV_NAME,
|
+ .name = DRV_NAME,
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = ltq_i2c_match,
|
+ .of_match_table = ltq_i2c_match,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
@ -36,7 +36,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+obj-$(CONFIG_PCI) += ath5k_eep.o
|
+obj-$(CONFIG_PCI) += ath5k_eep.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/mips/lantiq/xway/ath5k_eep.c
|
+++ 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 Luca Olivetti <luca@ventoso.org>
|
||||||
+ * Copyright (C) 2011 John Crispin <blogic@openwrt.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 = {
|
+static struct platform_driver ath5k_eeprom_driver = {
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "ath5k,eeprom",
|
+ .name = "ath5k,eeprom",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = of_match_ptr(ath5k_eeprom_ids),
|
+ .of_match_table = of_match_ptr(ath5k_eeprom_ids),
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
@ -293,7 +293,7 @@ Signed-off-by: Eddi De Pieri <eddi@depieri.net>
|
|||||||
|
|
||||||
register_pci_controller(&ifx_pcie_controller[pcie_port].pcic);
|
register_pci_controller(&ifx_pcie_controller[pcie_port].pcic);
|
||||||
/* XXX, clear error status */
|
/* 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;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -308,7 +308,6 @@ Signed-off-by: Eddi De Pieri <eddi@depieri.net>
|
|||||||
+ .probe = ifx_pcie_bios_probe,
|
+ .probe = ifx_pcie_bios_probe,
|
||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "pcie-xrx200",
|
+ .name = "pcie-xrx200",
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ .of_match_table = ifxmips_pcie_match,
|
+ .of_match_table = ifxmips_pcie_match,
|
||||||
+ },
|
+ },
|
||||||
+};
|
+};
|
||||||
|
@ -296,7 +296,6 @@ static struct platform_driver gsw_driver = {
|
|||||||
.remove = rtk_gsw_remove,
|
.remove = rtk_gsw_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rtk-gsw",
|
.name = "rtk-gsw",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = rtk_gsw_match,
|
.of_match_table = rtk_gsw_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -49,7 +49,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
+obj-$(CONFIG_QCOM_APM) += apm.o
|
+obj-$(CONFIG_QCOM_APM) += apm.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/power/qcom/apm.c
|
+++ b/drivers/power/qcom/apm.c
|
||||||
@@ -0,0 +1,944 @@
|
@@ -0,0 +1,943 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
@ -971,7 +971,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = MSM_APM_DRIVER_NAME,
|
+ .name = MSM_APM_DRIVER_NAME,
|
||||||
+ .of_match_table = msm_apm_match_table,
|
+ .of_match_table = msm_apm_match_table,
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ },
|
+ },
|
||||||
+ .probe = msm_apm_probe,
|
+ .probe = msm_apm_probe,
|
||||||
+ .remove = msm_apm_remove,
|
+ .remove = msm_apm_remove,
|
||||||
|
@ -77,7 +77,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
obj-$(CONFIG_REGULATOR_PF8X00) += pf8x00-regulator.o
|
obj-$(CONFIG_REGULATOR_PF8X00) += pf8x00-regulator.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/regulator/cpr3-npu-regulator.c
|
+++ b/drivers/regulator/cpr3-npu-regulator.c
|
||||||
@@ -0,0 +1,695 @@
|
@@ -0,0 +1,694 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
+ * Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
@ -752,7 +752,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "qcom,cpr3-npu-regulator",
|
+ .name = "qcom,cpr3-npu-regulator",
|
||||||
+ .of_match_table = cpr3_regulator_match_table,
|
+ .of_match_table = cpr3_regulator_match_table,
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ },
|
+ },
|
||||||
+ .probe = cpr3_npu_regulator_probe,
|
+ .probe = cpr3_npu_regulator_probe,
|
||||||
+ .remove = cpr3_npu_regulator_remove,
|
+ .remove = cpr3_npu_regulator_remove,
|
||||||
@ -9866,7 +9865,7 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
+}
|
+}
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/regulator/cpr4-apss-regulator.c
|
+++ 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.
|
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||||
+ *
|
+ *
|
||||||
@ -11663,7 +11662,6 @@ Signed-off-by: Robert Marko <robimarko@gmail.com>
|
|||||||
+ .driver = {
|
+ .driver = {
|
||||||
+ .name = "qcom,cpr4-apss-regulator",
|
+ .name = "qcom,cpr4-apss-regulator",
|
||||||
+ .of_match_table = cpr4_regulator_match_table,
|
+ .of_match_table = cpr4_regulator_match_table,
|
||||||
+ .owner = THIS_MODULE,
|
|
||||||
+ },
|
+ },
|
||||||
+ .probe = cpr4_apss_regulator_probe,
|
+ .probe = cpr4_apss_regulator_probe,
|
||||||
+ .remove = cpr4_apss_regulator_remove,
|
+ .remove = cpr4_apss_regulator_remove,
|
||||||
|
@ -1525,7 +1525,6 @@ static struct platform_driver esw_driver = {
|
|||||||
.remove = esw_remove,
|
.remove = esw_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rt3050-esw",
|
.name = "rt3050-esw",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ralink_esw_match,
|
.of_match_table = ralink_esw_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -296,7 +296,6 @@ static struct platform_driver gsw_driver = {
|
|||||||
.remove = mt7620_gsw_remove,
|
.remove = mt7620_gsw_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mt7620-gsw",
|
.name = "mt7620-gsw",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mediatek_gsw_match,
|
.of_match_table = mediatek_gsw_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1657,7 +1657,6 @@ static struct platform_driver fe_driver = {
|
|||||||
.remove = fe_remove,
|
.remove = fe_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mtk_soc_eth",
|
.name = "mtk_soc_eth",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_fe_match,
|
.of_match_table = of_fe_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -333,7 +333,6 @@ static struct platform_driver sf_gpio_driver = {
|
|||||||
.remove = sf_gpio_remove,
|
.remove = sf_gpio_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "siflower_gpio",
|
.name = "siflower_gpio",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = sf_gpio_ids,
|
.of_match_table = sf_gpio_ids,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user