net: phy: mdio_bus: fix checkpath error
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 18 Dec 2013 05:38:10 +0000 (21:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 05:49:02 +0000 (00:49 -0500)
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c

index 5617876..33e1c86 100644 (file)
@@ -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