PCI/MSI: Use irq_get_msi_desc() to simplify code
authorYijing Wang <wangyijing@huawei.com>
Tue, 8 Jul 2014 02:09:19 +0000 (10:09 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Jul 2014 20:49:02 +0000 (14:49 -0600)
commite11ece5a5e4292243076290d22bf2860a541e223
tree9c772ae1a4d80fcac0f95740a6dca25662ab9e13
parent0dae508aacb465bd96f8ce84d35b4b861894e302
PCI/MSI: Use irq_get_msi_desc() to simplify code

Use irq_get_msi_desc() to get MSI IRQ related msi_desc directly instead of
searching the dev->msi_list.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c