]> www.infradead.org Git - users/jedix/linux-maple.git/commit
alienware-wmi: alienware_wmax_command() is now input size agnostic
authorKurt Borja <kuurtb@gmail.com>
Wed, 30 Oct 2024 00:10:56 +0000 (21:10 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 30 Oct 2024 11:23:22 +0000 (13:23 +0200)
commit479bb5ff60258653ce54abfb1a24c79aedf99ad6
treee1ca241bb5cee74d9a3d2eb16d5832bacccda5c0
parent7757f9d5d5554ceefd8b3f75b0a113fee84a4c10
alienware-wmi: alienware_wmax_command() is now input size agnostic

alienware_wmax_command() now takes void * and size_t instead of struct
wmax_basic_args to extend support to new WMAX methods. Also int *out_data
was changed to u32 *out_data, because new interface specifies u32 as output
parameter and all previous callers would pass u32 * regardless.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20241030001057.7562-1-kuurtb@gmail.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/alienware-wmi.c