]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg_ini: use regions ops array instead of switch case in dump flow
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 18 Jun 2019 05:24:21 +0000 (08:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:23 +0000 (15:31 +0300)
commit4849bda856aaa87f5b3d387055cce4e9c0b3a545
tree43351d9fbbc7c25164213f5deadcf94df1a89a10
parent817dae72ac199493397c1f1be8455d7e351d73d4
iwlwifi: dbg_ini: use regions ops array instead of switch case in dump flow

Make a static regions ops array and use it instead of switch case when
determining what op to use to collect a region.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c