Skip to content

Commit

Permalink
net: phy: micrel: Fix double spaces inside lan8814_config_intr
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Horatiu Vultur authored and Jakub Kicinski committed Sep 22, 2022
1 parent 2b99774 commit f8b2cce
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 @@ -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;

Expand Down

0 comments on commit f8b2cce

Please sign in to comment.