]> git.baikalelectronics.ru Git - kernel.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)
commit9f9c7ef691370c216c0da371aa4e42fd6fd17ae4
tree59987a9eb6218c1342b1ebe345c729be4e997409
parent48f6d40de70230ea9650aef71cb683f0531c1e24
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