Files
linux/drivers
Vivien Didelot 774439e532 net: dsa: mv888e6xxx: do not use netdev printing
The mv888e6xxx driver accesses a port's netdev mostly for printing.

This is bad for 2 reasons: DSA and CPU ports do not have a netdev
pointer; it doesn't give us a correct picture of why a DSA driver might
need to access a port's netdev.

Instead simply use dev_* printing functions with chip->dev (or ds->dev
depending on the scope, both guaranteed to exist), with a p%d prefix for
the target port.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-09 12:10:57 -04:00
..
2017-06-03 00:01:45 +02:00
2017-04-27 11:54:49 +01:00
2017-05-28 10:22:42 -07:00
2017-04-17 00:42:22 +02:00
2017-04-20 09:54:24 +02:00
2017-04-10 16:43:41 +05:30
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00