OSDN Git Service

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)
commit5bea4304eea790766dd45cdd328ee287df2ade75
treebc72989c48e9b6a1b6673d32cd959481c5ab65af
parent136521cb9c2fc8aa7db836c9d5de9c91ba4a0979
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