staging: r8188eu: merge two led structs
authorMartin Kaiser <martin@kaiser.cx>
Sun, 26 Jun 2022 18:09:59 +0000 (20:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2022 11:50:49 +0000 (13:50 +0200)
commit1b0a54b3e83f67cade6e510f43804ac7ab4c0bb9
treef7c139e2effae2450beab549f509dfb0b9df89f4
parent80394da44b7be8f5e474b048aed6ceaf0082c2b4
staging: r8188eu: merge two led structs

The led layer uses struct led_priv and struct LED_871x to store state
info. Merge the two structs. Move LED_871x's components into led_priv.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220626181000.287225-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c
drivers/staging/r8188eu/include/rtw_led.h