From: Sebastian Hesselbarth Date: Mon, 6 May 2013 23:49:31 +0000 (+0000) Subject: net: of_mdio: fix behavior on missing phy device X-Git-Tag: v3.10-rc1~34^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058112c7efc9ef43bb511c137293dddbe6e42908;p=pandora-kernel.git net: of_mdio: fix behavior on missing phy device of_mdiobus_register creates a phy_device even if get_phy_device failed to create it previously. This causes indefinite polling on non-existent PHYs. This fix makes of_mdio_register rely on get_phy_device to properly create the device or fail otherwise. Signed-off-by: Sebastian Hesselbarth Signed-off-by: David S. Miller --- Reading git-diff-tree failed