rocker: use new helper to figure out master kind
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Aug 2015 07:31:22 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:28:35 +0000 (16:28 -0700)
commitfb4bf214346e37778bcf00a89bfb90112859b23c
treef48a7221dbef82f138746c04948cf7ce21dbbbb0
parent0dc1549bfd67053181415a3f7544628a6bcd2a08
rocker: use new helper to figure out master kind

Looking at rtnl kind string is kind of ugly. So use new helpers to do
this in nicer way.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Scott Feldman <sfeldma@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c