diff options
author | Ricardo Neri <ricardo.neri-calderon@linux.intel.com> | 2024-01-02 20:14:56 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-01-03 14:06:40 +0100 |
commit | 8a8b6bb93c704776c4b05cb517c3fa8baffb72f5 (patch) | |
tree | 454c4f824d4bc1b6027cb35c0f2a0ef19470a285 /scripts/gcc-plugins/sancov_plugin.c | |
parent | d654362d53a83ef3b921f3d06812e12290646a90 (diff) |
thermal: intel: hfi: Refactor enabling code into helper functions
In preparation for the addition of a suspend notifier, wrap the logic to
enable HFI and program its memory buffer into helper functions. Both the
CPU hotplug callback and the suspend notifier will use them.
This refactoring does not introduce functional changes.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions