mlxsw: core: Do not use EMADs in mlxsw_emad_fini
authorJiri Pirko <jiri@mellanox.com>
Thu, 15 Oct 2015 15:43:21 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 06:27:51 +0000 (23:27 -0700)
commit18ea54454ecdd516ad11bf88d86f1994548692bf
tree402cf5284e4dcd4005156cb798430d9fb12586d4
parent3e2206da73e37c0fc07675b5caf25d3b26e33b7d
mlxsw: core: Do not use EMADs in mlxsw_emad_fini

Be symmetric with mlxsw_emad_init and don't use EMADs in mlxsw_emad_fini
cleanup function. Use command interface instead.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c