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