]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: use switch statement instead of multiple if statement
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 3 Mar 2016 12:05:22 +0000 (21:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Mar 2016 01:58:46 +0000 (17:58 -0800)
commited7bd1f3fdab0e04c94060ddca09a81fdefcff15
treefa5bc03c9d3cb2eae52e38e8dd62edf2afc53bfc
parentee226b2cd1727749eb70ffbfc6fcd9928359fe6d
staging: wilc1000: use switch statement instead of multiple if statement

It is more readable than multiple if-else statement.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan_cfg.c