diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-09-11 14:10:02 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-14 22:01:10 +0300 |
| commit | 67ec43792b110540211485deb59e33839d8a2f5a (patch) | |
| tree | b3dda2d69862df895ae757c2b96f3ceb33215b4e /tools/perf/scripts/python/gecko.py | |
| parent | ff2e19d5690e00396c897aa63f7fcf64eeec7c1b (diff) | |
| download | linux-67ec43792b110540211485deb59e33839d8a2f5a.tar.xz | |
net: stmmac: add __stmmac_release() to complement __stmmac_open()
Rename stmmac_release() to __stmmac_release(), providing a new
stmmac_release() method. Update stmmac_change_mtu() to use
__stmmac_release(). Move the runtime PM handling into stmmac_open()
and stmmac_release().
This avoids stmmac_change_mtu() needlessly fiddling with the runtime
PM state, and will allow future changes to remove code from
__stmmac_open() and __stmmac_release() that should only happen when
the net device is administratively brought up or down.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
