Andrew Lunn <and...@lunn.ch> writes:

> Refactor the code to setup a single DSA/CPU port into a function of
> its own, and export it, so it can be used by the new binding.
>
> Similarly, refactor the destroy code into a function.  When destroying
> the ports, don't put the of node. They should be released at the end
> along with the normal ports.
>
> Signed-off-by: Andrew Lunn <and...@lunn.ch>
> ---
> rfc->v1:
> * Extend commit message with comment about wrong of_node_put()
> * Fix destroy of cpu and dsa ports.
> ---

Reviewed-by: Vivien Didelot <vivien.dide...@savoirfairelinux.com>

Thanks,

        Vivien

Reply via email to