Commit b763f50d authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

docs: net: dsa: document the teardown method

A teardown method was added to dsa_switch_ops without being documented.
Do so now.

Fixes: 5e3f847a ("net: dsa: Add teardown callback for drivers")
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d6a0336a
...@@ -617,7 +617,8 @@ Switch configuration ...@@ -617,7 +617,8 @@ Switch configuration
fully configured and ready to serve any kind of request. It is recommended fully configured and ready to serve any kind of request. It is recommended
to issue a software reset of the switch during this setup function in order to to issue a software reset of the switch during this setup function in order to
avoid relying on what a previous software agent such as a bootloader/firmware avoid relying on what a previous software agent such as a bootloader/firmware
may have previously configured. may have previously configured. The method responsible for undoing any
applicable allocations or operations done here is ``teardown``.
PHY devices and link management PHY devices and link management
------------------------------- -------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment