[PATCH 0/6] asus-wmi: cleanup dgpu_disable, egpu_enable, panel_od

From: Luke D. Jones
Date: Fri Aug 12 2022 - 18:25:30 EST


This patch series does two things for previously added features:
- dgpu_disable
- egpu_enable
- panel_od

The fixes add missing documentation, and the refactors vastly clean up how
the features work, including reading the values from WMI methods on *_show()
and checking the result correctly (these methods return 1 on success).

Luke D. Jones (6):
Fixes 98829e84dc67 ("asus-wmi: Add dgpu disable method")
Fixes: 382b91db8044 ("asus-wmi: Add egpu enable method")
Fixes: ca91ea34778f ("asus-wmi: Add panel overdrive functionality")
asus-wmi: Refactor disable_gpu attribute
asus-wmi: Refactor egpu_enable attribute
asus-wmi: Refactor panel_od attribute

.../ABI/testing/sysfs-platform-asus-wmi | 28 +++
drivers/platform/x86/asus-wmi.c | 231 ++++++------------
2 files changed, 103 insertions(+), 156 deletions(-)

--
2.37.1