Skip to content

Commit c3c9bab

Browse files
andy-shevwsakernel
authored andcommitted
i2c: designware-pci: Group MODULE_*() macros
For better maintenance group MODULE_*() macros together. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent c2d7fa2 commit c3c9bab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/i2c/busses/i2c-designware-pcidrv.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@ static void i2c_dw_pci_remove(struct pci_dev *pdev)
359359
pci_free_irq_vectors(pdev);
360360
}
361361

362-
/* work with hotplug and coldplug */
363-
MODULE_ALIAS("i2c_designware-pci");
364-
365362
static const struct pci_device_id i2_designware_pci_ids[] = {
366363
/* Medfield */
367364
{ PCI_VDEVICE(INTEL, 0x0817), medfield },
@@ -418,9 +415,10 @@ static struct pci_driver dw_i2c_driver = {
418415
.pm = &i2c_dw_pm_ops,
419416
},
420417
};
421-
422418
module_pci_driver(dw_i2c_driver);
423419

420+
/* Work with hotplug and coldplug */
421+
MODULE_ALIAS("i2c_designware-pci");
424422
MODULE_AUTHOR("Baruch Siach <[email protected]>");
425423
MODULE_DESCRIPTION("Synopsys DesignWare PCI I2C bus adapter");
426424
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)