PCI/MSI: Let pci_msi_get_domain use struct device::msi_domain
authorMarc Zyngier <[email protected]>
Tue, 28 Jul 2015 13:46:14 +0000 (14:46 +0100)
committerThomas Gleixner <[email protected]>
Wed, 29 Jul 2015 22:14:37 +0000 (00:14 +0200)
commitd8a1cb7575502d2be502a65ecb344ff05c8d9f44
tree64c24ea4b77aaf54e3234ae812ea4c0b9843fdb6
parent471c931cb248ab7af0cd62503d811239b47f217b
PCI/MSI: Let pci_msi_get_domain use struct device::msi_domain

Now that we can easily find which MSI domain a PCI device is
using, use dev_get_msi_domain as a way to retrieve the information.

The original code is still used as a fallback.

Acked-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Hanjun Guo <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Cc: <[email protected]>
Cc: Yijing Wang <[email protected]>
Cc: Ma Jun <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Duc Dang <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
drivers/pci/msi.c