net: phy: micrel: fix checkpath errors
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>
This commit is contained in:
parent
6f901b7376
commit
756b50895f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue