commit | 932762b69a282d3fa12febc1a02628f0fb79a1b8 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri Apr 08 19:11:21 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 08 15:38:42 2016 -0400 |
tree | a1f51636d3e256586127c589fc455570f532c761 | |
parent | a9844881ba19d15d274bd684d4de0758bbd71c90 [diff] |
mlxsw: Move devlink port registration into common core code Remove devlink port reg/unreg from spectrum and switchx2 code and rather do the common work in core. That also ensures code separation where devlink is only used in core.c. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>