diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2020-09-28 12:23:13 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2020-10-01 21:59:34 +0300 |
commit | dd2a1256e6a8d8162314ee5213cee8a163002c9a (patch) | |
tree | 86fbf13c150ab5f7fe370d5b5785e8b1eebfef18 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fbb7957d28ac897b9dcd29f96750c23543118258 (diff) |
iwlwifi: acpi: rename geo structs to contain versioning
Add the version number to the iwl_geo_tx_power_profile_cmd structs and
move the union into a common place. Additionally, reuse the code that
sets elements that are at the same place in the struct across
different versions.
While at it remove an unused variable, add a comment and move the v2
specific element setting to inside the if statement. Additionally,
invert the if for slightly more readability.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200928121852.23ec241f16cd.I8cd21fc5a2498e820b50e1f49a4cbfe545afe30e@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions