PCI/MSI: Move pci_msi_restore_state() to api.c
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Nov 2022 13:55:03 +0000 (14:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:21 +0000 (15:15 +0100)
commit57127da98bc87688324cc2d29927b340d7754701
tree7a1b6707470ad5f45644c4497c9fa08401aadb70
parent897a0b6aa8c7ee0015e8d1f781e8e61069aafe16
PCI/MSI: Move pci_msi_restore_state() 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_msi_enabled() and add kernel-doc for the function.

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.331584998@linutronix.de
drivers/pci/msi/api.c
drivers/pci/msi/msi.c
drivers/pci/msi/msi.h