On Tue, Jul 05, 2016 at 03:07:11PM -0700, Florian Fainelli wrote: > In preparation for allowing platform data, and therefore no valid > device_node pointer, make most DSA functions takes a pointer to a > dsa_port structure whenever possible. While at it, introduce a > dsa_port_is_valid() helper function which checks whether port->dn is > NULL or not at the moment. > > Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew