]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: nxp-tja11xx: Convert to U_BOOT_PHY_DRIVER()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:03:00 +0000 (18:03 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:18:49 +0000 (14:18 +0200)
commit1965f2aa65fb6cc98775dec4ac5498eabcd885d3
treec2fe71291b37e171d084bec0034027ba14cc3c61
parentd1296d44de5d5c4c6c41a64310dcdb4bd80d6a2a
net: phy: nxp-tja11xx: Convert to U_BOOT_PHY_DRIVER()

Convert PHY driver to U_BOOT_PHY_DRIVER() macro and drop phy_register() init call.

Converted using sed
"s@^static struct phy_driver \(.*\)_driver = \+{@U_BOOT_PHY_DRIVER(\L\1) = {"

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