diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-15 18:12:03 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-12-17 00:19:08 +0300 |
commit | c3c9bab1e398073df117fc0b5bb1b81beada9fd6 (patch) | |
tree | d9f76c68d6e08740f4d748a24b5638efecc7e8af /drivers/i2c/busses | |
parent | c2d7fa2207d0df23bde6ef3fb4d56135f3d2977b (diff) | |
download | linux-c3c9bab1e398073df117fc0b5bb1b81beada9fd6.tar.xz |
i2c: designware-pci: Group MODULE_*() macros
For better maintenance group MODULE_*() macros together.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-pcidrv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index f49c41ba5647..9276e4bf0b75 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -359,9 +359,6 @@ static void i2c_dw_pci_remove(struct pci_dev *pdev) pci_free_irq_vectors(pdev); } -/* work with hotplug and coldplug */ -MODULE_ALIAS("i2c_designware-pci"); - static const struct pci_device_id i2_designware_pci_ids[] = { /* Medfield */ { PCI_VDEVICE(INTEL, 0x0817), medfield }, @@ -418,9 +415,10 @@ static struct pci_driver dw_i2c_driver = { .pm = &i2c_dw_pm_ops, }, }; - module_pci_driver(dw_i2c_driver); +/* Work with hotplug and coldplug */ +MODULE_ALIAS("i2c_designware-pci"); MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>"); MODULE_DESCRIPTION("Synopsys DesignWare PCI I2C bus adapter"); MODULE_LICENSE("GPL"); |