[PATCH] powerpc/PCI hotplug: shuffle error checking to better location.
authorlinas@austin.ibm.com <linas@austin.ibm.com>
Fri, 13 Jan 2006 00:35:23 +0000 (18:35 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 02:00:13 +0000 (18:00 -0800)
commit8737d6a90cd8b085c2ea9cb4c7443c87f86c3429
tree88a6148ed1dd5d98f9d3ef89b4639e210d0ee19b
parentb64a71ab5c9098a79ccb463af968933483458a0f
[PATCH] powerpc/PCI hotplug: shuffle error checking to better location.

Error checking is scattered through various layers of the dlpar code,
leading to a somewhat opaque code structure. This patch consolidates
error checking in one routine, simplifying the code a tad. There's
also some whitespace cleanup here too.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpadlpar_core.c