Re: [PATCH RFC i2c-master] i2c: microchip: pci1xxxx: Add driver for I2C host controller in multifunction endpoint of pci1xxxx switch

From: Tharunkumar.Pasumarthi
Date: Tue Aug 30 2022 - 10:25:34 EST


On Tue, 2022-08-23 at 13:48 +0200, Christophe JAILLET wrote:
> > +
> > +err_free_region:
> > +     pci_free_irq_vectors(pdev);
>
> Should this also be part of the .remove function?

pci_free_irq_vectors API is not needed since pcim_enable_device API is used. I
will remove 'pci_free_irq_vectors' in all the places in upcoming version of the
patch.

Thanks,
Tharun Kumar P