Skip to content

Commit

Permalink
net: phy: micrel: fix checkpath errors
Browse files Browse the repository at this point in the history
checkpatch spotted a few spaces vs tabs errors, 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 6f901b7 commit 756b508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/phy/micrel.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ static int ksz_config_flags(struct phy_device *phydev)
}

static int kszphy_extended_write(struct phy_device *phydev,
u32 regnum, u16 val)
u32 regnum, u16 val)
{
phy_write(phydev, MII_KSZPHY_EXTREG, KSZPHY_EXTREG_WRITE | regnum);
return phy_write(phydev, MII_KSZPHY_EXTREG_WRITE, val);
}

static int kszphy_extended_read(struct phy_device *phydev,
u32 regnum)
u32 regnum)
{
phy_write(phydev, MII_KSZPHY_EXTREG, regnum);
return phy_read(phydev, MII_KSZPHY_EXTREG_READ);
Expand Down

0 comments on commit 756b508

Please sign in to comment.