PCI: Make pci_bus_add_device() void
authorYijing Wang <wangyijing@huawei.com>
Fri, 30 May 2014 03:01:03 +0000 (11:01 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 May 2014 15:34:27 +0000 (09:34 -0600)
pci_bus_add_device() always returns 0, so there's no point in returning
anything at all.  Make it a void function and remove the tests of the
return value from the callers.

[bhelgaas: changelog, remove unused "err" from i82875p_setup_overfl_dev()]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found