net: phy: stop exporting phy_driver_register
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: phy: dp83640: improve phydev and driver removal handlingdrivers/ | +20 | 1 reply | Applied |
| 2/2 | net: phy: stop exporting phy_driver_registerdrivers/ include/ | +2 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Maxime Chevallier |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/2] net: phy: stop exporting phy_driver_register
Once the last user of a clock in dp83640 has been removed, the clock should be removed. So far orphaned clocks are cleaned up in dp83640_free_clocks() only. Add the logic to remove orphaned clocks in dp83640_remove(). This allows to simplify the code, and use standard macro module_phy_driver(). dp83640 was the last external user of phy_driver_register(), so we can stop exporting this function afterwards.
Heiner Kallweit (2):
net: phy: dp83640: improve phydev and driver removal handling
net: phy: stop exporting phy_driver_register
drivers/net/phy/dp83640.c | 58 +++++++++++++----------------------- drivers/net/phy/phy_device.c | 4 +-- include/linux/phy.h | 1 - 3 files changed, 22 insertions(+), 41 deletions(-)
Signature · 1 line
2.51.0