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