staging: r8188eu: remove LedPin from struct struct LED_871x
authorMartin Kaiser <martin@kaiser.cx>
Tue, 7 Dec 2021 21:05:37 +0000 (22:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Dec 2021 07:57:03 +0000 (08:57 +0100)
commit673cd3f471dd3b6e9f6ca2806338711c92bb012d
tree1e005191949eb34108c7f823154a6d382db4f093
parent86b7e5fbd62373b16f8a026c46d47c1f668cac46
staging: r8188eu: remove LedPin from struct struct LED_871x

We only support a single LED. LedPin in struct struct LED_871x is
always LED_PIN_LED0. There's no need to store this info or to pass it
to functions as a parameter.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211207210537.23382-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c
drivers/staging/r8188eu/hal/rtl8188eu_led.c
drivers/staging/r8188eu/include/rtw_led.h