From: Florian Fainelli Date: Wed, 18 Dec 2013 05:38:10 +0000 (-0800) Subject: net: phy: mdio_bus: fix checkpath error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f901b737691ef8b8c09de4a807f9831264ea0de;p=linux-beck.git net: phy: mdio_bus: fix checkpath error Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 56178761ce93..33e1c861d9ba 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c @@ -316,8 +316,8 @@ static int mdio_bus_match(struct device *dev, struct device_driver *drv) if (phydrv->match_phy_device) return phydrv->match_phy_device(phydev); - return ((phydrv->phy_id & phydrv->phy_id_mask) == - (phydev->phy_id & phydrv->phy_id_mask)); + return (phydrv->phy_id & phydrv->phy_id_mask) == + (phydev->phy_id & phydrv->phy_id_mask); } #ifdef CONFIG_PM