PCI: pciehp: Simplify "Power Fault Detected" checking/clearing
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 14 Dec 2013 20:06:40 +0000 (13:06 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 16 Dec 2013 01:00:00 +0000 (18:00 -0700)
commit2f2ed41cf43e22686349ecdf4ca247ea3831af55
treec7fe79e01f0cc18f5a5dd878f0002d924abbb49b
parentafe2478f2e3fffc45a1be24ebfc23945a66a80fd
PCI: pciehp: Simplify "Power Fault Detected" checking/clearing

It's simpler to test the PCI_EXP_SLTSTA_PFD bit directly and to write the
constant back to PCI_EXP_SLTSTA.

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_hpc.c