mlxsw: core_thermal: Use common define for thermal zone name length
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 13 Apr 2022 15:17:33 +0000 (18:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2022 10:06:13 +0000 (11:06 +0100)
commit03978fb88b06bdbe6c404ffb49cf8290d2d015a5
tree4e5feae5b85b3134523eee50433233084a0bc90f
parent739d56bc635e9ba642777445d8c9c37e4a35ba3c
mlxsw: core_thermal: Use common define for thermal zone name length

Replace internal define 'MLXSW_THERMAL_ZONE_MAX_NAME' by common
'THERMAL_NAME_LENGTH'.

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