diff options
| author | Tang Chen <[email protected]> | 2012-10-26 13:38:16 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2012-11-15 00:16:01 +0100 |
| commit | 594df89a59cf2a2afc22fe27f508dd864d1edb5f (patch) | |
| tree | a502015feea0df21b4f899a8c7ed84f8ea4f648d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 0a290ac4252c85205cb924ff7f6da10cfd20fb01 (diff) | |
ACPI: Fix a hard coding style when determining if a device is a container, v3
"ACPI0004","PNP0A05" and "PNP0A06" are all defined in array
container_device_ids[], so use it, but not the hard coding style.
Also, introduce a new API is_container_device() to determine if a
device is a container device.
Signed-off-by: Tang Chen <[email protected]>
Signed-off-by: Yasuaki Ishimatsu <[email protected]>
Reviewed-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions