mlxsw: spectrum: Rename MLXSW_REG_QEEC_HIERARCY_* enumerators
authorPetr Machata <petrm@mellanox.com>
Wed, 18 Dec 2019 14:55:11 +0000 (14:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 21:32:29 +0000 (13:32 -0800)
commit9cf9b925d5387b501732dcbc8fe3c77104d423f8
tree3f9a21c0f73d1191aa3c2f7828a21349be91cdb7
parent5bc146c90e9eed409210809fae3c0efebef68ae1
mlxsw: spectrum: Rename MLXSW_REG_QEEC_HIERARCY_* enumerators

These enums want to be named MLXSW_REG_QEEC_HIERARCHY_, but due to a typo
lack the second H. That is confusing and complicates searching.

But actually the enumerators should be named _HR_, because that is how
their enum type is called. So rename them as appropriate.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c