diff options
author | 2017-04-19 17:03:38 -0700 | |
---|---|---|
committer | 2017-04-20 13:26:16 -0700 | |
commit | f9cf3b2880cc41ec2b44aa24fa156bffe934f9c7 (patch) | |
tree | 890f1ce87fd763d68a330edd54c3e124c81bf12d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: hp-wmi: Cleanup wireless get_(hw|sw)state functions (diff) | |
download | wireguard-linux-f9cf3b2880cc41ec2b44aa24fa156bffe934f9c7.tar.xz wireguard-linux-f9cf3b2880cc41ec2b44aa24fa156bffe934f9c7.zip |
platform/x86: hp-wmi: Refactor dock and tablet state fetchers
Both dock and tablet use the HPWMI_HARDWARE_QUERY, but require different
masks. Rather than using two functions with magic masks, define the
masks, and use a common accessor.
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Tested-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions