Commit 756b5089 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: phy: micrel: fix checkpath errors

checkpatch spotted a few spaces vs tabs errors, fix them.
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f901b73
...@@ -81,14 +81,14 @@ static int ksz_config_flags(struct phy_device *phydev) ...@@ -81,14 +81,14 @@ static int ksz_config_flags(struct phy_device *phydev)
} }
static int kszphy_extended_write(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); phy_write(phydev, MII_KSZPHY_EXTREG, KSZPHY_EXTREG_WRITE | regnum);
return phy_write(phydev, MII_KSZPHY_EXTREG_WRITE, val); return phy_write(phydev, MII_KSZPHY_EXTREG_WRITE, val);
} }
static int kszphy_extended_read(struct phy_device *phydev, static int kszphy_extended_read(struct phy_device *phydev,
u32 regnum) u32 regnum)
{ {
phy_write(phydev, MII_KSZPHY_EXTREG, regnum); phy_write(phydev, MII_KSZPHY_EXTREG, regnum);
return phy_read(phydev, MII_KSZPHY_EXTREG_READ); return phy_read(phydev, MII_KSZPHY_EXTREG_READ);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment