mlxsw: Pass mlxsw_core as a param of mlxsw_core_skb_transmit*
authorJiri Pirko <jiri@mellanox.com>
Fri, 8 Apr 2016 17:11:22 +0000 (19:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 19:38:42 +0000 (15:38 -0400)
commit307c2431abf0974996356c13b67432f4b35e5f2f
tree9e7199a9a824922956f4ffe96b165145998a31b7
parent932762b69a282d3fa12febc1a02628f0fb79a1b8
mlxsw: Pass mlxsw_core as a param of mlxsw_core_skb_transmit*

Instead of passing around driver priv, pass struct mlxsw_core *
directly.

Signed-off-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/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c