PCI: fix up error messages for pci_bus registering
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Mar 2008 22:47:13 +0000 (14:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 23:07:03 +0000 (15:07 -0800)
Due to the class_device cleanup of pci_bus, the error messages when
things go wrong are incorrect.  So fix this up to properly report what
is really happening, if things go wrong.

Thanks to Kay for pointing out the issue.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found