diff options
author | 2013-11-22 21:56:06 +0100 | |
---|---|---|
committer | 2013-11-22 21:56:06 +0100 | |
commit | 25db115b0bf72acfdf8a339fa8e37d8b895214d6 (patch) | |
tree | 57e73fb5457a5ecb591a8f750583274006afe763 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / hotplug: Drop unfinished global notification handling routines (diff) | |
download | linux-dev-25db115b0bf72acfdf8a339fa8e37d8b895214d6.tar.xz linux-dev-25db115b0bf72acfdf8a339fa8e37d8b895214d6.zip |
ACPI: Introduce acpi_set_device_status()
Introduce a static inline function for setting the status field
of struct acpi_device on the basis of a supplied u32 number,
acpi_set_device_status(), and use it instead of the horrible
horrible STRUCT_TO_INT() macro wherever applicable. Having done
that, drop STRUCT_TO_INT() (and pretend that it has never existed).
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions