diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2024-03-29 07:32:05 -0700 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-04-08 18:30:33 +0300 |
commit | 868adf8a29179c00309ddd8ffe0afa2043f42cb5 (patch) | |
tree | 4266b0c35d12f31e292ed53eb8c1ad15b6240d37 /tools/perf/scripts/python/libxed.py | |
parent | 0dd50b3e2c3d651ea972c97cff1af67870f3deaf (diff) |
platform/x86: intel-vbtn: Use acpi_has_method to check for switch
The check for a device having virtual buttons is done using
acpi_has_method(..."VBDL"). Mimic that for checking virtual switch
presence.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240329143206.2977734-2-gwendal@chromium.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions