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 56178761ce930750a0d035a9593dcf0464d10d6d..33e1c861d9ba5569f0aa659d38a6d2db71f862e7 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