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)
commit9bad1d0a5a0313b69597269474fd15849414cfae
treefa5bc03c9d3cb2eae52e38e8dd62edf2afc53bfc
parent9e58c36c7796736362bf1a3fbc7a8376e07e9357
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