Re: [PATCH v3 4/4] i2c: thunderx: Use the correct name of device-managed function
From: Krzysztof Wilczyński <hidden>
Date: 2021-02-16 17:50:42
Also in:
linux-i2c, linux-pci, lkml
From: Krzysztof Wilczyński <hidden>
Date: 2021-02-16 17:50:42
Also in:
linux-i2c, linux-pci, lkml
Hi Dejin,
Use the new function pcim_alloc_irq_vectors() to allocate IRQ vectors, the pcim_alloc_irq_vectors() function, an explicit device-managed version of pci_alloc_irq_vectors(). If pcim_enable_device() has been called before, then pci_alloc_irq_vectors() is actually a device-managed function. It is used here as a device-managed function, So replace it with pcim_alloc_irq_vectors().
A few suggestions about the commit message in the following reply: https://lore.kernel.org/linux-pci/YCwE2cf9X%2FGd6lWy@rocinante/ (local) Krzysztof