iommu/amd: Remove calc_devid() and use PCI_DEVID() from PCI
authorShuah Khan <shuah.khan@hp.com>
Thu, 28 Feb 2013 00:07:30 +0000 (17:07 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 26 Mar 2013 22:21:58 +0000 (16:21 -0600)
commit6f2729bab2cc386bb603698646dacd9ab6297ba0
tree40e0daad672d14546cf810bfd77bb1006575a999
parentc5081cd7a2b3db31a72b4c697321cf0425dbc2f1
iommu/amd: Remove calc_devid() and use PCI_DEVID() from PCI

Change to remove calc_devid() and use PCI_DEVID() from PCI instead.

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h