diff options
author | 2023-03-31 16:17:32 +0200 | |
---|---|---|
committer | 2023-04-02 13:42:30 +0100 | |
commit | cc19439f703b8c979133bf91690d6c0dffd8dc46 (patch) | |
tree | 2306e4094c3cbf109eecdc5a829e48e414cddd57 /net/core/dev_ioctl.c | |
parent | mlxsw: core_thermal: Make mlxsw_thermal_module_init() void (diff) | |
download | wireguard-linux-cc19439f703b8c979133bf91690d6c0dffd8dc46.tar.xz wireguard-linux-cc19439f703b8c979133bf91690d6c0dffd8dc46.zip |
mlxsw: core_thermal: Simplify transceiver module get_temp() callback
The get_temp() callback of a thermal zone associated with a transceiver
module no longer needs to read the temperature thresholds of the module.
Therefore, simplify the callback by only reading the temperature.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions