From: Jakub Kicinski Date: Tue, 23 Sep 2025 23:58:44 +0000 (-0700) Subject: Merge branch 'net-phy-stop-exporting-phy_driver_register' X-Git-Tag: v6.18-rc1~132^2~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc992abe0fd1faa8c470c4a652f360b733d5bded;p=thirdparty%2Flinux.git Merge branch 'net-phy-stop-exporting-phy_driver_register' 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 --- bc992abe0fd1faa8c470c4a652f360b733d5bded