PCI: Return conventional error values from pci_revert_fw_address()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Jul 2014 22:00:42 +0000 (16:00 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Jul 2014 22:29:08 +0000 (16:29 -0600)
commit947788359527d9598356c274c50522e0f6d0ad0f
tree05b0820ac69c2727bc898c503ce107c5a4aa9b05
parent28f6dbe2c669c6a02c04c8ece21cafbcb20370ab
PCI: Return conventional error values from pci_revert_fw_address()

Previously we returned zero for success or 1 for failure.  This changes
that so we return zero for success or a negative errno for failure.

No functional change.

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