diff options
author | 2013-07-13 23:27:25 +0200 | |
---|---|---|
committer | 2013-07-23 04:00:23 +0200 | |
commit | 5a3bc573ae32a71bb9e307812d4de1bdcab6b9fb (patch) | |
tree | a0d437fdef258deae5c45cf6430d1df7385a9f6d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ACPI / hotplug / PCI: Embed function struct into struct acpiphp_context (diff) | |
download | linux-dev-5a3bc573ae32a71bb9e307812d4de1bdcab6b9fb.tar.xz linux-dev-5a3bc573ae32a71bb9e307812d4de1bdcab6b9fb.zip |
ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func
The ACPI handle stored in struct acpiphp_func is also stored in the
struct acpiphp_context object containing it and it is trivial to get
from a struct acpiphp_func pointer to the handle field of the outer
struct acpiphp_context.
Hence, the handle field of struct acpiphp_func is redundant, so drop
it and provide a helper function, func_to_handle(), allowing it
users to get the ACPI handle for the given struct acpiphp_func
pointer.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions