All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: stop exporting phy_driver_register
@ 2025-09-20 21:31 Heiner Kallweit
  2025-09-20 21:33 ` [PATCH net-next 1/2] net: phy: dp83640: improve phydev and driver removal handling Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Heiner Kallweit @ 2025-09-20 21:31 UTC (permalink / raw)
  To: Andrew Lunn, Andrew Lunn, Russell King - ARM Linux, Eric Dumazet,
	Paolo Abeni, Jakub Kicinski, David Miller
  Cc: netdev@vger.kernel.org

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(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-24  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-20 21:31 [PATCH net-next 0/2] net: phy: stop exporting phy_driver_register Heiner Kallweit
2025-09-20 21:33 ` [PATCH net-next 1/2] net: phy: dp83640: improve phydev and driver removal handling Heiner Kallweit
2025-09-22 15:47   ` Maxime Chevallier
2025-09-20 21:34 ` [PATCH net-next 2/2] net: phy: stop exporting phy_driver_register Heiner Kallweit
2025-09-24  0:10 ` [PATCH net-next 0/2] " patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.