commit | 0776c57ec173eb4878713cd26416ec0ac047916a | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 21:19:29 2015 -0700 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Oct 29 14:05:48 2015 -0500 |
tree | f251cdc1cb532abbacaffa51a2052effea002bf5 | |
parent | 23e9d5cd1118ff17aee98d58a4c8c065bb789332 [diff] |
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>