Skip to content

Commit

Permalink
net: phy: lxt: fix checkpath errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Dec 18, 2013
1 parent 9ed66cb commit 5df47d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/phy/lxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5df47d5

Please sign in to comment.