diff options
author | Serge Semin <[email protected]> | 2024-05-13 09:25:13 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-13 17:19:59 -0700 |
commit | d5c50937d50f396ef97817e30361827ac5b166c2 (patch) | |
tree | 3e4b8a17057fc1a2fda5e970ca99d74b0645bafa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ab5588703981e5560cce47988187aa15005c766f (diff) |
net: stmmac: Add dedicated XPCS cleanup method
Currently the XPCS handler destruction is performed in the
stmmac_mdio_unregister() method. It doesn't look good because the handler
isn't originally created in the corresponding protagonist
stmmac_mdio_unregister(), but in the stmmac_xpcs_setup() function. In
order to have more coherent MDIO and XPCS setup/cleanup procedures,
let's move the DW XPCS destruction to the dedicated stmmac_pcs_clean()
method.
This method will also be used to cleanup PCS hardware using the
pcs_exit() callback that will be introduced to stmmac in a subsequent
patch.
Signed-off-by: Serge Semin <[email protected]>
Co-developed-by: Romain Gantois <[email protected]>
Signed-off-by: Romain Gantois <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Hariprasad Kelam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions