diff options
| author | 2026-05-10 04:25:38 +0000 | |
|---|---|---|
| committer | 2026-05-11 14:29:10 +0300 | |
| commit | 30a4ad208a7f7bdb790cd31d368595890045334f (patch) | |
| tree | c6bd57c89dad826c95eafd5bd89f98e83227b257 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: lenovo-wmi-helpers: Move gamezone enums to wmi-helpers (diff) | |
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/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
