diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2021-12-26 20:55:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-28 17:12:34 +0100 |
| commit | 0a7a87c418f8fbbb124ccd5f032e358cfdb81dac (patch) | |
| tree | 2b7a6e6ecdf77b48b5caedb1aad8dbfdae154150 /tools | |
| parent | staging: r8188eu: clean up the blink worker code (diff) | |
| download | linux-0a7a87c418f8fbbb124ccd5f032e358cfdb81dac.tar.gz linux-0a7a87c418f8fbbb124ccd5f032e358cfdb81dac.zip | |
staging: r8188eu: clean up blinking macros
Clean up the macros that check the blinking mode of a LED.
The macro IS_LED_BLINKING is not used and can be removed.
The IS_LED_WPS_BLINKING macro is used only by rtw_led.c. Move the macro
into this file. The macro parameter is always a struct LED_871x *,
there's no need for a cast. Rename the parameter to l and put it in
parentheses, which is good practice for macro parameters.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211226195556.159471-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
