diff options
| author | Amit Cohen <[email protected]> | 2020-09-03 16:41:44 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-03 12:12:05 -0700 |
| commit | ad38d47b2f9b7f8247ae1527a66a5924a585ab5a (patch) | |
| tree | 388dfadf87f807b5ab9ea3119db07a5fc971b120 /tools/perf/scripts/python | |
| parent | 7544abd90e852d46eb65d23dfcfb41ed7b7e6008 (diff) | |
mlxsw: core_hwmon: Split temperature querying from show functions
mlxsw_hwmon_module_temp_show(), mlxsw_hwmon_module_temp_critical_show()
and mlxsw_hwmon_module_temp_emergency_show() query the relevant
temperature from firmware and fill the value in provided buffers.
Split the temperature querying functionality to individual get()
functions and call them from the show() functions.
The get() functions will be used by subsequent patches in the set.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions