]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mdio-uclass: rename arguments of dm_mdio_phy_connect for clarity
authorAlex Marginean <alexandru.marginean@nxp.com>
Mon, 25 Nov 2019 15:15:11 +0000 (17:15 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commita5d32c37d9eec2f819273536a5600a0fbde09acb
treeb5baa429e020e0e8ed89961226b248d2ec062a71
parent16cdc2daa07986243751a9f545aa287c60e04ced
net: mdio-uclass: rename arguments of dm_mdio_phy_connect for clarity

Renamed dm_mdio_phy_connect arguments dev to mdiodev and addr to phyaddr
for a bit more clarity and consistency with the following patches.
Also use NULL instead of 0 on error return path.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/miiphy.h
net/mdio-uclass.c