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:21:29 EST


On Tue, 2022-08-23 at 13:31 +0300, Krzysztof Kozlowski wrote:
> > +static void pci1xxxx_i2c_remove_pci(struct pci_dev *pdev)
> > +{
> > +     struct pci1xxxx_i2c *i2c = pci_get_drvdata(pdev);
>
> No need for pci_free_irq_vectors()?
>

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

Thanks,
Tharun Kumar P
>