mlxsw: core: Replace thermal temperature trips with defines
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 13 Feb 2019 11:28:51 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:02 +0000 (22:33 -0800)
commit41e760841d262a88c39b16808e16d57e7a13cc66
treea2e7a9040c78eab28fa84d9c6c19c86e39aee480
parent69115b7d01c4715faf7803fea54017d76f195155
mlxsw: core: Replace thermal temperature trips with defines

Replace thermal hardcoded temperature trip values with defines.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c