mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
platform/x86: think-lmi: only display possible_values if available
[ Upstream commitcf337f27f3] Some attributes don't have any values available. In those cases don't make the possible_values entry visible. Fixes:a40cd7ef22("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms") Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca> Link: https://lore.kernel.org/r/20230320003221.561750-3-mpearson-lenovo@squebb.ca Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1d7d927ef1
commit
04cccbf888
1 changed files with 13 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue