Searched hist:d19741b0f54487cf3a11307900f8633935cd2849 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | diff d19741b0f54487cf3a11307900f8633935cd2849 Thu Jan 14 20:11:15 CST 2021 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: felix: perform teardown in reverse order of setup
In general it is desirable that cleanup is the reverse process of setup. In this case I am not seeing any particular issue, but with the introduction of devlink-sb for felix, a non-obvious decision had to be made as to where to put its cleanup method. When there's a convention in place, that decision becomes obvious.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|