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