[RFC][PATCH 3/8] ACPI / hotplug / PCI: Always return success after adding a function

2013-07-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki When a new ACPIPHP function is added by register_slot() and the notify handler cannot be installed for it, register_slot() returns an error status without cleaning up, which causes the entire namespace walk in acpiphp_enumerate_slots() to be aborted, although it still may

[RFC][PATCH 3/8] ACPI / hotplug / PCI: Always return success after adding a function

2013-07-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com When a new ACPIPHP function is added by register_slot() and the notify handler cannot be installed for it, register_slot() returns an error status without cleaning up, which causes the entire namespace walk in acpiphp_enumerate_slots() to be