From: Mika Westerberg Date: Sat, 13 Jul 2013 21:27:26 +0000 (+0200) Subject: ACPI / hotplug / PCI: Consolidate slot disabling and ejecting X-Git-Tag: v3.12-rc1~178^2~16^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad21d2d046a8a6bbf1b10c04770ec835a4e379e6;p=pandora-kernel.git ACPI / hotplug / PCI: Consolidate slot disabling and ejecting Both acpiphp_disable_slot() and acpiphp_eject_slot() are always called together so instead of calling each separately we can consolidate them into one function acpiphp_disable_and_eject_slot() that does both (but it will return success on _EJ0 failures that were ignored in the majority of call sites anyway). [rjw: Rebased plus minor tweaks] Signed-off-by: Mika Westerberg Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed