]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7aceca1d41144c6bb428e4f778b4e048119482a5
tree3f9a21c0f73d1191aa3c2f7828a21349be91cdb7
parentb18d171a5026a801ce8bbdba8cf118f1e78fb4ad
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