diff options
author | Ido Schimmel <idosch@nvidia.com> | 2023-03-31 16:17:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-02 13:42:30 +0100 |
commit | cc19439f703b8c979133bf91690d6c0dffd8dc46 (patch) | |
tree | 2306e4094c3cbf109eecdc5a829e48e414cddd57 /drivers/net/ethernet/mellanox/mlxfw | |
parent | c1536d856e18c6d37a6b7d1fc68d3d27aa7f8e9d (diff) | |
download | linux-stable-cc19439f703b8c979133bf91690d6c0dffd8dc46.tar.gz linux-stable-cc19439f703b8c979133bf91690d6c0dffd8dc46.tar.bz2 linux-stable-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 'drivers/net/ethernet/mellanox/mlxfw')
0 files changed, 0 insertions, 0 deletions