diff options
author | Luke D. Jones <[email protected]> | 2024-07-16 13:11:30 +1200 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-07-16 12:49:09 +0300 |
commit | d8b17a364ec48239fccb65efe74bb485e79e6743 (patch) | |
tree | b82a079da40a5fe8775691b68ad402c7a467d534 /lib/overflow_kunit.c | |
parent | 182c6941c55347c735e70ffca77741cd000cbec7 (diff) |
platform/x86: asus-wmi: fix TUF laptop RGB variant
In kbd_rgb_mode_store the dev_get_drvdata() call was assuming the device
data was asus_wmi when it was actually led_classdev.
This patch corrects this by making the correct chain of calls to get the
asus_wmi driver data.
Fixes: ae834a549ec1 ("platform/x86: asus-wmi: add support variant of TUF RGB")
Tested-by: Denis Benato <[email protected]>
Signed-off-by: Luke D. Jones <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions