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)
commit30afe8d00b994416b24c63f8c5bbf1c13869ec3c
treea107bdb2d3c7ffa3c70e4d3e0a78e40926aa0ed8
parent5b28541552ef5eeffc41d6936105f38c2508e566
PCI: Change pbus_size_mem() return values to be more conventional

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