mlxsw: spectrum: Cosmetic naming change
authorArkadi Sharshevsky <arkadis@mellanox.com>
Fri, 17 Mar 2017 08:38:00 +0000 (09:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 00:16:10 +0000 (17:16 -0700)
commitbf95233e206983d5a05a2e27700d2678ffdef62c
tree7e88189ad9bf0d3064fb9af7da0901ae21158ea3
parent33928eed8d934bb912d8168cd5e57fa80f9122c4
mlxsw: spectrum: Cosmetic naming change

Currently the struct representing router interface "mlxsw_sp_rif"
is reffered as "r" in various places in the driver. Furthermore it
contains a member which specify the index which is called "rif".
This patch change "r" to "rif" and "rif" to "rif_index".

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c