# Re: \[PATCH v5 4/4\] i2c: thunderx: Use pcim\_alloc\_irq\_vectors() to allocate IRQ vectors

- From: Robert Richter \<rric@kernel.org\>
- Date: 2021-02-26 19:20:41 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/02/6280323
- Thread: https://ratatoskr.run/linux-doc/2021/02/6280168/t.md

```text
On 26.02.21 23:50:56, Dejin Zheng wrote:
> 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().
> 
> Signed-off-by: Dejin Zheng <redacted>

Acked-by: Robert Richter <rric@kernel.org>
```
