netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net-next 5/9] net: phy: lxt: fix checkpath errors
Date: Tue, 17 Dec 2013 21:38:09 -0800	[thread overview]
Message-ID: <1387345093-14168-6-git-send-email-f.fainelli@gmail.com> (raw)
In-Reply-To: <1387345093-14168-1-git-send-email-f.fainelli@gmail.com>

checkpath spotted a few errors in this file, fix them.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/net/phy/lxt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
index ff2e45e..9108f31 100644
--- 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);
-- 
1.8.3.2

  parent reply	other threads:[~2013-12-18  5:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18  5:38 [PATCH net-next 0/9] net: phy: fix checkpatch errors Florian Fainelli
2013-12-18  5:38 ` [PATCH net-next 1/9] net: phy: cicada: fix checkpath errors Florian Fainelli
2013-12-18  5:38 ` [PATCH net-next 2/9] net: phy: davicom: " Florian Fainelli
2013-12-18  5:38 ` [PATCH net-next 3/9] net: phy: dp83640: fix checkpath error Florian Fainelli
2013-12-19 22:31   ` Joe Perches
2013-12-20  9:46     ` David Laight
2013-12-18  5:38 ` [PATCH net-next 4/9] net: phy: icplus: " Florian Fainelli
2013-12-18  5:38 ` Florian Fainelli [this message]
2013-12-18  5:38 ` [PATCH net-next 6/9] net: phy: mdio_bus: " Florian Fainelli
2013-12-18  5:38 ` [PATCH net-next 7/9] net: phy: micrel: fix checkpath errors Florian Fainelli
2013-12-18  5:38 ` [PATCH net-next 8/9] net: phy: fix checkpatch errors Florian Fainelli
2013-12-18  6:07   ` Joe Perches
2013-12-19 20:48   ` Sergei Shtylyov
2013-12-18  5:38 ` [PATCH net-next 9/9] net: phy: spi_ks8995: " Florian Fainelli
2013-12-18  5:50 ` [PATCH net-next 0/9] net: phy: " David Miller
2013-12-19 22:27 ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387345093-14168-6-git-send-email-f.fainelli@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).