]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: teranetics: Convert to U_BOOT_PHY_DRIVER()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:03:03 +0000 (18:03 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:18:50 +0000 (14:18 +0200)
commit787a67f4710576e18c8df6131a881453f3737abb
tree8bcc87ed6013f776b2d8cc612c06aa89c8242c6e
parent2ea350c466d0d0ab5a6ad18d7a859649556ae98b
net: phy: teranetics: 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/phy.c
drivers/net/phy/teranetics.c
include/phy.h