]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use match_string() helper
authorYisheng Xie <xieyisheng1@huawei.com>
Mon, 21 May 2018 11:57:44 +0000 (19:57 +0800)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 6 Oct 2018 07:25:54 +0000 (10:25 +0300)
commit47c763be7b1b4c52d61d877b126ac614d6a2a6ca
treebc72989c48e9b6a1b6673d32cd959481c5ab65af
parentdc2a7dc83ab13adf832d350e9fc7fe1dfd236b37
iwlwifi: mvm: use match_string() helper

match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c