summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-24 18:11:44 +0300
committerHans de Goede <hdegoede@redhat.com>2022-08-25 17:23:53 +0300
commitc98dc61ee08f833e68337700546e120e2edac7c9 (patch)
tree77883e6978ab690b282acd95d8998efcbab4263a /tools/perf/scripts/python/check-perf-trace.py
parente397c3c460bf3849384f2f55516d1887617cfca9 (diff)
downloadlinux-c98dc61ee08f833e68337700546e120e2edac7c9.tar.xz
platform/x86: asus-wmi: Simplify tablet-mode-switch probing
The 3 different tablet-mode-switch initialization paths repeat a lot of the same code. Add a helper function for this. This also makes the error-handling for the kbd_dock_devid case consistent with the other 2 cases. Cc: Luke D. Jones <luke@ljones.dev> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220824151145.1448010-1-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions