diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2021-06-22 23:07:55 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-06-28 12:34:45 +0300 |
commit | 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f (patch) | |
tree | d30cbbd7977b08037aa8fde717e4f099b579a371 /drivers/platform/surface/surface3_button.c | |
parent | 1bcad8e510b27ad843315ab2c27ccf459e3acded (diff) | |
download | linux-0fdf10e5fc964c315cf131a2eaab9cc531a9f40f.tar.xz |
platform/x86: think-lmi: Split current_value to reflect only the value
Currently attributes will show things like:
`BootOrderLock,Disable`
rather than just
`Disable`.
Of course this works, but the attribute is intended to be read by
userspace tools and not require further processing. That is a userspace
tool can display a drop down of `possible_values` and `current_value` is
one of them from the list.
This also aligns `think-lmi` with how `dell-wmi-sysman` works.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210622200755.12379-3-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/surface3_button.c')
0 files changed, 0 insertions, 0 deletions