PCI/AER: Factor out HEST device type matching
commita6bd73cdc93ec03781ff99beb5b465fd6ea3a784
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Jun 2013 18:10:47 +0000 (6 12:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Jun 2013 20:33:27 +0000 (6 14:33 -0600)
tree86adb5f0cd269bcb0273b3611f8e323ec5c7fd78
parent8b8d2b658f2cb7092672a56c72b41121ce786d93
PCI/AER: Factor out HEST device type matching

This factors out the matching of HEST structure type and PCIe device type
to improve readability.  No functional change.

Tested-by: Betty Dall <betty.dall@hp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv_acpi.c