]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: Drop unused phy_register()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:03:15 +0000 (18:03 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:18:51 +0000 (14:18 +0200)
This function is no longer used, drop it.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com> #microblaze (MANUAL_RELOC)
drivers/net/phy/phy.c
include/phy.h

index f4aa1f664cbe9f9a4998bb08b2d3b06c3ebd7b51..15da9a80de2d51bfaec053691ff216503e636c41 100644 (file)
@@ -500,14 +500,6 @@ int phy_init(void)
        return 0;
 }
 
-int phy_register(struct phy_driver *drv)
-{
-#ifdef CONFIG_NEEDS_MANUAL_RELOC
-       phy_drv_reloc(drv);
-#endif
-       return 0;
-}
-
 int phy_set_supported(struct phy_device *phydev, u32 max_speed)
 {
        /* The default values for phydev->supported are provided by the PHY
index 5e8ae5e29aa7309c720689d8ff2a08e1471f6435..4a9de461152246a2adfab4ae8038ce4fbb06fb46 100644 (file)
@@ -293,7 +293,6 @@ int phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val
 int phy_startup(struct phy_device *phydev);
 int phy_config(struct phy_device *phydev);
 int phy_shutdown(struct phy_device *phydev);
-int phy_register(struct phy_driver *drv);
 int phy_set_supported(struct phy_device *phydev, u32 max_speed);
 int phy_modify(struct phy_device *phydev, int devad, int regnum, u16 mask,
               u16 set);