]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: Don't create phy device when there is no phy
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 04:19:29 +0000 (21:19 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 29 Oct 2015 19:05:48 +0000 (14:05 -0500)
commit0132b9ab6e6593d1fd259cdd26261f184c436fdd
treef251cdc1cb532abbacaffa51a2052effea002bf5
parent4f485150cfdc1cbbf841e46236dd5052fbe5c542
net: phy: Don't create phy device when there is no phy

In get_phy_device_by_mask(), when no phy is found, we should not
create any phy device.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c