summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_bus.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-18 06:38:10 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-18 06:49:02 +0100
commit6f901b737691ef8b8c09de4a807f9831264ea0de (patch)
treea8ecb58e3df84b47d5d74693e49ba9a46c50ae13 /drivers/net/phy/mdio_bus.c
parentnet: phy: lxt: fix checkpath errors (diff)
downloadlinux-6f901b737691ef8b8c09de4a807f9831264ea0de.tar.xz
linux-6f901b737691ef8b8c09de4a807f9831264ea0de.zip
net: phy: mdio_bus: fix checkpath error
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
-rw-r--r--drivers/net/phy/mdio_bus.c4
1 files changed, 2 insertions, 2 deletions
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