platform/x86: msi-wmi-platform: Rename "data" variable
authorArmin Wolf <W_Armin@gmx.de>
Mon, 14 Apr 2025 14:04:52 +0000 (16:04 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 15 Apr 2025 14:03:14 +0000 (17:03 +0300)
commit912d614ac99e137fd2016777e4b090c46ce84898
treed7bb151206e2a2805b62208c7f97d3be9f500325
parent202a861205905629c5f10ce0a8358623485e1ae9
platform/x86: msi-wmi-platform: Rename "data" variable

Rename the "data" variable inside msi_wmi_platform_read() to avoid
a name collision when the driver adds support for a state container
struct (that is to be called "data" too) in the future.

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