diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-07-14 20:53:40 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-21 15:37:50 +0200 |
| commit | c75c99aafef5f36520547f9f319f774035cfea9c (patch) | |
| tree | 14ffbaea293de3059eca772f5726cd125d51ede1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c01576a7f5a0f4501cc9db060335b4b5ab281b36 (diff) | |
ACPI: utils: Introduce acpi_dev_is_video_device() helper
There are a couple of users that open code functionality of matching
a given handle against ACPI video device IDs. The current approach
duplicates ID table along with the matching code. Consolidate it
under the acpi_dev_is_video_device() helper's hood.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ rjw: Moved the static var declaration into the function body ]
Link: https://patch.msgid.link/20260714185915.865396-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
