firewire: ohci: obsolete usage of deprecated API for MSI
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 31 Mar 2024 13:50:36 +0000 (22:50 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 6 May 2024 02:06:04 +0000 (11:06 +0900)
commitb9d9a025bf2fa93d421cc5e54bf1dfaa3a55d60a
treee7e180da530ca57e387519c02c992cb3f2b69866
parentd4cad4162ba3bc7a5b7aca3c11e0e8ae05a61e81
firewire: ohci: obsolete usage of deprecated API for MSI

The usage of the pair of pci_enable_msi() and pci_disable_msi() is
deprecated.

This commit uses the preferred pair of API for the purpose. The call of
pci_alloc_irq_vectors() can have a subeffect to change the return value
of pci_dev_msi_enabled().

Link: https://lore.kernel.org/r/20240331135037.191479-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c