diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-09-21 08:54:44 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 12:08:28 -0700 |
commit | f8b2cce430d92ec927915ba4bc8088fe99659dbc (patch) | |
tree | d8dc11a7cc79f7f5fda1daec126c3999ec271897 /drivers/net/phy | |
parent | 2b9977470b39e011ee5fbc01ca55411a7768fb9d (diff) | |
download | lwn-f8b2cce430d92ec927915ba4bc8088fe99659dbc.tar.gz lwn-f8b2cce430d92ec927915ba4bc8088fe99659dbc.zip |
net: phy: micrel: Fix double spaces inside lan8814_config_intr
Inside the function lan8814_config_intr, there are double spaces when
assigning the return value of phy_write to err.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220921065444.637067-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/micrel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index c225df56b7d2..f5c3c5c2fe11 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -2874,9 +2874,9 @@ static int lan8814_config_intr(struct phy_device *phydev) if (err) return err; - err = phy_write(phydev, LAN8814_INTC, LAN8814_INT_LINK); + err = phy_write(phydev, LAN8814_INTC, LAN8814_INT_LINK); } else { - err = phy_write(phydev, LAN8814_INTC, 0); + err = phy_write(phydev, LAN8814_INTC, 0); if (err) return err; |