]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4ea683a5430fe20e9c23042381f857e67ed4195
tree4e5feae5b85b3134523eee50433233084a0bc90f
parentc5da2137effdaaa7aead9ae379a008d8426f248b
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