]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: Re-inline phy_drv_reloc()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:03:16 +0000 (18:03 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:18:51 +0000 (14:18 +0200)
commitc878e70bebef706f09e647b16954c14cee81939c
tree5904b9ca80c5664c5a8be944f23a04ad1d60a40d
parent7da03bbc5711b394674f2ed40a2a3c9c4cb46154
net: phy: Re-inline phy_drv_reloc()

Wrap phy_drv_reloc() back into phy_init() to reduce ifdeffery,
since phy_drv_reloc() is now called only from one call site.
No functional change.

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