PCI/MSI: Move pci_msix_vec_count() to api.c
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Nov 2022 13:54:56 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:21 +0000 (15:15 +0100)
commit7b50f62776672e7b328455eddc90ceb01b64ac3e
treef3d93103a877a43d9dd5961df3977e7efbf12ea1
parent059f778d66ba88e1acad89a46cfb35eb8703feef
PCI/MSI: Move pci_msix_vec_count() to api.c

To disentangle the maze in msi.c, all exported device-driver MSI APIs are
now to be grouped in one file, api.c.

Move pci_msix_vec_count() and make its kernel-doc comprehensive.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122015.099461602@linutronix.de
drivers/pci/msi/api.c
drivers/pci/msi/msi.c