]> Git Repo - J-u-boot.git/commit
net: phy: mscc: Convert to U_BOOT_PHY_DRIVER()
authorMarek Vasut <[email protected]>
Sun, 19 Mar 2023 17:03:08 +0000 (18:03 +0100)
committerMarek Vasut <[email protected]>
Fri, 7 Apr 2023 12:18:50 +0000 (14:18 +0200)
commit5c359aa712d2b91e23df15a2b11cc72aa3682b30
treea754cd39b20ae6be7107b671d77ffd47c54ee32d
parent330d64f5a0d748707fe40139fa981aebeb2308a3
net: phy: mscc: 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 <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Acked-by: Michal Simek <[email protected]>
Tested-by: Michal Simek <[email protected]> #microblaze (MANUAL_RELOC)
drivers/net/phy/mscc.c
drivers/net/phy/phy.c
include/phy.h
This page took 0.034686 seconds and 4 git commands to generate.