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