Message ID | 20211215151205.584264-4-jarkko.nikula@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [1/6] i2c: designware: Do not complete i2c read without RX_FULL interrupt | expand |
On Wed, Dec 15, 2021 at 05:12:03PM +0200, Jarkko Nikula wrote: > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > 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> > --- Removed an empty line and applied to for-next, thanks! > +MODULE_ALIAS("i2c_designware-pci"); > + This one. > MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>");
On Thu, Dec 16, 2021 at 10:18:28PM +0100, Wolfram Sang wrote: > On Wed, Dec 15, 2021 at 05:12:03PM +0200, Jarkko Nikula wrote: > > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > > > For better maintenance group MODULE_*() macros together. > Removed an empty line and applied to for-next, thanks! Agree on the change and thanks! > > +MODULE_ALIAS("i2c_designware-pci"); > > + > > This one. > > > MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>");
diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index f49c41ba5647..021eee44fa3d 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,11 @@ 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");