[PATCH 0/2] platform/x86: asus-wmi: Clean up asus_wmi_set_devstate()

Ethan Tidmore posted 2 patches 6 days, 18 hours ago
drivers/platform/x86/asus-wmi.c | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
[PATCH 0/2] platform/x86: asus-wmi: Clean up asus_wmi_set_devstate()
Posted by Ethan Tidmore 6 days, 18 hours ago
Remove redundant control flow in asus_wmi_set_devstate() and refactor
control flow to improve readability.

Ethan Tidmore (2):
  platform/x86: asus-wmi: Remove redundant condition
  platform/x86: asus-wmi: Refactor control flow

 drivers/platform/x86/asus-wmi.c | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

-- 
2.53.0
Re: [PATCH 0/2] platform/x86: asus-wmi: Clean up asus_wmi_set_devstate()
Posted by Ethan Tidmore 6 days, 18 hours ago
On Thu Mar 26, 2026 at 6:11 PM CDT, Ethan Tidmore wrote:
> Remove redundant control flow in asus_wmi_set_devstate() and refactor
> control flow to improve readability.
>
> Ethan Tidmore (2):
>   platform/x86: asus-wmi: Remove redundant condition
>   platform/x86: asus-wmi: Refactor control flow
>
>  drivers/platform/x86/asus-wmi.c | 22 +++++++---------------
>  1 file changed, 7 insertions(+), 15 deletions(-)

I meant to say update_screenpad_bl_status() instead of
asus_wmi_set_devstate().

Thanks,

ET