Re: [PATCH net-next] net: dsa: move fixed link registration helpers

2017-10-28 Thread David Miller
From: Vivien Didelot Date: Thu, 26 Oct 2017 10:50:07 -0400 > The new bindings (dsa2.c) and the old bindings (legacy.c) share two > helpers dsa_cpu_dsa_setup and dsa_cpu_dsa_destroy, used to register or > deregister a fixed PHY if a given port has a corresponding device node. > > Unclutter the co

[PATCH net-next] net: dsa: move fixed link registration helpers

2017-10-26 Thread Vivien Didelot
The new bindings (dsa2.c) and the old bindings (legacy.c) share two helpers dsa_cpu_dsa_setup and dsa_cpu_dsa_destroy, used to register or deregister a fixed PHY if a given port has a corresponding device node. Unclutter the code by moving them into two new port.c helpers, dsa_port_fixed_link_regi