projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed66cb
)
net: phy: lxt: fix checkpath errors
author
Florian Fainelli
<
[email protected]
>
Wed, 18 Dec 2013 05:38:09 +0000
(21:38 -0800)
committer
David S. Miller
<
[email protected]
>
Wed, 18 Dec 2013 05:49:02 +0000
(
00:49
-0500)
checkpath spotted a few errors in this file, fix them.
Signed-off-by: Florian Fainelli <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/phy/lxt.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/lxt.c
b/drivers/net/phy/lxt.c
index ff2e45e9cb54c0505d163ec93f07566f2ae58ab8..9108f319170147ed6dda42f58552b16fa05ab4c4 100644
(file)
--- a/
drivers/net/phy/lxt.c
+++ b/
drivers/net/phy/lxt.c
@@
-82,7
+82,7
@@
static int lxt970_config_intr(struct phy_device *phydev)
{
int err;
- if(phydev->interrupts == PHY_INTERRUPT_ENABLED)
+ if
(phydev->interrupts == PHY_INTERRUPT_ENABLED)
err = phy_write(phydev, MII_LXT970_IER, MII_LXT970_IER_IEN);
else
err = phy_write(phydev, MII_LXT970_IER, 0);
@@
-114,7
+114,7
@@
static int lxt971_config_intr(struct phy_device *phydev)
{
int err;
- if(phydev->interrupts == PHY_INTERRUPT_ENABLED)
+ if
(phydev->interrupts == PHY_INTERRUPT_ENABLED)
err = phy_write(phydev, MII_LXT971_IER, MII_LXT971_IER_IEN);
else
err = phy_write(phydev, MII_LXT971_IER, 0);