diff options
| author | Gerhard Engleder <[email protected]> | 2021-08-19 15:11:53 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-20 14:31:46 +0100 |
| commit | 3ac8eed62596387214869319379c1fcba264d8c6 (patch) | |
| tree | 675656ead78a611ce92a1a0d747312d0b26879c0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4ed311b08a91fe0a214714605d8159fc51166982 (diff) | |
net: phy: Uniform PHY driver access
struct phy_device contains a pointer to the PHY driver and nearly
everywhere this pointer is used to access the PHY driver. Only
mdio_bus_phy_may_suspend() is still using to_phy_driver() instead of the
PHY driver pointer. Uniform PHY driver access by eliminating
to_phy_driver() use in mdio_bus_phy_may_suspend().
Only phy_bus_match() and phy_probe() are still using to_phy_driver(),
because PHY driver pointer is not available there.
Signed-off-by: Gerhard Engleder <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions