diff options
author | 2013-07-13 23:27:26 +0200 | |
---|---|---|
committer | 2013-07-23 04:00:25 +0200 | |
commit | ad21d2d046a8a6bbf1b10c04770ec835a4e379e6 (patch) | |
tree | 79e2a6d6dfa85660cfd520e60c578859b3a1179d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / hotplug / PCI: Drop redundant checks from check_hotplug_bridge() (diff) | |
download | linux-dev-ad21d2d046a8a6bbf1b10c04770ec835a4e379e6.tar.xz linux-dev-ad21d2d046a8a6bbf1b10c04770ec835a4e379e6.zip |
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 <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions