summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-12-17 21:38:09 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-18 00:49:02 -0500
commit5df47d5e12aa9fbfe493bc9175423d3e59032170 (patch)
tree46eb5da2ceadabfe82782a1dd158a443f068b0ea /drivers/net/phy
parent9ed66cb502e050650c319633f096a1c14b0470e2 (diff)
downloadlinux-5df47d5e12aa9fbfe493bc9175423d3e59032170.tar.gz
linux-5df47d5e12aa9fbfe493bc9175423d3e59032170.tar.bz2
linux-5df47d5e12aa9fbfe493bc9175423d3e59032170.zip
net: phy: lxt: fix checkpath errors
checkpath spotted a few errors in this file, fix them. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/lxt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
index ff2e45e9cb54..9108f3191701 100644
--- a/drivers/net/phy/lxt.c
+++ b/drivers/net/phy/lxt.c
@@ -82,7 +82,7 @@ static int lxt970_config_intr(struct phy_device *phydev)
{
int err;
- if(phydev->interrupts == PHY_INTERRUPT_ENABLED)
+ if (phydev->interrupts == PHY_INTERRUPT_ENABLED)
err = phy_write(phydev, MII_LXT970_IER, MII_LXT970_IER_IEN);
else
err = phy_write(phydev, MII_LXT970_IER, 0);
@@ -114,7 +114,7 @@ static int lxt971_config_intr(struct phy_device *phydev)
{
int err;
- if(phydev->interrupts == PHY_INTERRUPT_ENABLED)
+ if (phydev->interrupts == PHY_INTERRUPT_ENABLED)
err = phy_write(phydev, MII_LXT971_IER, MII_LXT971_IER_IEN);
else
err = phy_write(phydev, MII_LXT971_IER, 0);