]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8188eu: refactor SwLedControlMode1()
authorMichael Straube <straube.linux@gmail.com>
Sat, 8 Sep 2018 12:13:51 +0000 (14:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2018 16:35:15 +0000 (18:35 +0200)
commit00585495c4fab4bb57f7b64e9011bbd1faf64def
tree59987a9eb6218c1342b1ebe345c729be4e997409
parent7aaaabd50d785e30b290054b3a1b115393927da3
staging: rtl8188eu: refactor SwLedControlMode1()

Refactor switch cases in SwLedControlMode1() to reduce
indentation level. Also clears line over 80 characters
checkpatch warnings.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_led.c