]> Git Repo - linux.git/commitdiff
net: phy: micrel: Fix double spaces inside lan8814_config_intr
authorHoratiu Vultur <[email protected]>
Wed, 21 Sep 2022 06:54:44 +0000 (08:54 +0200)
committerJakub Kicinski <[email protected]>
Thu, 22 Sep 2022 19:08:28 +0000 (12:08 -0700)
Inside the function lan8814_config_intr, there are double spaces when
assigning the return value of phy_write to err.

Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Horatiu Vultur <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/phy/micrel.c

index c225df56b7d26745c3634a8d9ce54891ff6745fb..f5c3c5c2fe11f7408727729778cb0246401b3ff6 100644 (file)
@@ -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;
 
This page took 0.062362 seconds and 4 git commands to generate.