]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge branch 'net-phy-stop-exporting-phy_driver_register'
authorJakub Kicinski <kuba@kernel.org>
Tue, 23 Sep 2025 23:58:44 +0000 (16:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Sep 2025 23:58:44 +0000 (16:58 -0700)
Heiner Kallweit says:

====================
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.
====================

Link: https://patch.msgid.link/b86c2ecc-41f6-4f7f-85db-b7fa684d1fb7@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge