diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-05-26 11:14:29 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-29 21:46:53 -0700 |
commit | 9a5d500cffdb3652215172b7c5829ca7b41e9efe (patch) | |
tree | 2b596ce0628da31fc5032cb92e945e82ff2aa304 /tools/perf/scripts/python/task-analyzer.py | |
parent | c4933fa88a68c69205753601044949d516c4db10 (diff) |
net: pcs: xpcs: add xpcs_create_mdiodev()
Add xpcs_create_mdiodev() to simplify the creation of the mdio device
associated with the XPCS. In order to allow xpcs_destroy() to clean
this up, we need to arrange for xpcs_create() to take a refcount on
the mdiodev, and xpcs_destroy() to put it.
Adding the refcounting to xpcs_create()..xpcs_destroy() will be
transparent to existing users of these interfaces.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions