PCI: pciehp: Make various functions void since they can't fail
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 14 Dec 2013 20:06:16 +0000 (13:06 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 15 Dec 2013 23:07:32 +0000 (16:07 -0700)
These functions:

  pcie_enable_notification()
  pciehp_power_off_slot()
  pciehp_get_power_status()
  pciehp_get_attention_status()
  pciehp_set_attention_status()
  pciehp_get_latch_status()
  pciehp_get_adapter_status()
  pcie_write_cmd()

now always return success, so this patch makes them void and drops the
error-checking code in their callers.

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found