diff options
author | 2022-02-11 08:09:29 -0800 | |
---|---|---|
committer | 2022-02-25 20:49:29 +0100 | |
commit | d445571fa369cf08148dcd9bce563d5fae14fcd7 (patch) | |
tree | 7e2a5c28c83ea07941285b0eb275fdd91529a09a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ACPI: fan: Separate file for attributes creation (diff) | |
download | wireguard-linux-d445571fa369cf08148dcd9bce563d5fae14fcd7.tar.xz wireguard-linux-d445571fa369cf08148dcd9bce563d5fae14fcd7.zip |
ACPI: fan: Optimize struct acpi_fan_fif
We don't need u64 to store the information about _FIF. There are two
booleans (fine_grain_ctrl and low_speed_notification) and one field
step_size which can take value from 1-9. There are no internal users
of revision field. So convert all fields to u8, by not directly
extracting the _FIF info the struct. Use an intermediate buffer to
extract and assign.
This will help to do u32 math using these fields. No functional
changes are expected.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions