diff options
| author | Derek J. Clark <derekjohn.clark@gmail.com> | 2026-05-10 04:25:38 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-11 14:29:10 +0300 |
| commit | 30a4ad208a7f7bdb790cd31d368595890045334f (patch) | |
| tree | c6bd57c89dad826c95eafd5bd89f98e83227b257 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 7e27896e16a1c450085c3fe020eeb1b223880f37 (diff) | |
| download | linux-30a4ad208a7f7bdb790cd31d368595890045334f.tar.gz linux-30a4ad208a7f7bdb790cd31d368595890045334f.zip | |
platform/x86: lenovo-wmi-other: Add Attribute ID helper functions
Adds lwmi_attr_id() function. In the same vein as LWMI_ATTR_ID_FAN_RPM(),
but as a generic, to de-duplicate attribute_id assignment boilerplate.
Adds tunable_attr_01_id() function that breaks out the members of a
tunable_attr_01 struct and passes them to lwmi_attr_id().
No functional change intended.
Cc: stable@vger.kernel.org
Reviewed-by: Rong Zhang <i@rong.moe>
Tested-by: Rong Zhang <i@rong.moe>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://patch.msgid.link/20260510042546.436874-9-derekjohn.clark@gmail.com
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
