PCI: Change pbus_size_mem() return values to be more conventional
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 20 May 2014 00:28:37 +0000 (18:28 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 May 2014 18:40:48 +0000 (12:40 -0600)
pbus_size_mem() previously returned 0 for failure and 1 for success.
Change it to return -ENOSPC for failure and 0 for success.

No functional change.

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

Simple merge