public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Harsh Kumar <harsh1kumar@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [Patch 2/5] Staging: winbond: Typo corrections in comments
Date: Wed, 26 Sep 2012 18:15:39 +0000	[thread overview]
Message-ID: <5063437B.70808@gmail.com> (raw)

Few typo corrections in comments

Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>

---
 drivers/staging/winbond/wb35tx.c |   10 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -uprN a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c
--- a/drivers/staging/winbond/wb35tx.c
+++ b/drivers/staging/winbond/wb35tx.c
@@ -41,7 +41,7 @@ static void Wb35Tx_complete(struct urb *
 	pWb35Tx->TxSendIndex++;
 	pWb35Tx->TxSendIndex %= MAX_USB_TX_BUFFER_NUMBER;
 
-	if (pHwData->SurpriseRemove) /* Let WbWlanHalt to handle surprise remove */
+	if (pHwData->SurpriseRemove) /* Let WbWlanHalt handle surprise remove */
 		goto error;
 
 	if (pWb35Tx->tx_halt)
@@ -151,13 +151,13 @@ void Wb35Tx_stop(struct hw_data * pHwDat
 
 	/* Try to cancel the Trp of EP2 */
 	if (pWb35Tx->EP2vm_state = VM_RUNNING)
-		/* Only use unlink, let Wb35Tx_destroy to free them */
+		/* Only use unlink, let Wb35Tx_destroy free them */
 		usb_unlink_urb( pWb35Tx->Tx2Urb );
 	pr_debug("EP2 Tx stop\n");
 
 	/* Try to cancel the Irp of EP4 */
 	if (pWb35Tx->EP4vm_state = VM_RUNNING)
-		/* Only use unlink, let Wb35Tx_destroy to free them */
+		/* Only use unlink, let Wb35Tx_destroy free them */
 		usb_unlink_urb( pWb35Tx->Tx4Urb );
 	pr_debug("EP4 Tx stop\n");
 }
@@ -216,7 +216,7 @@ static void Wb35Tx_EP2VM_complete(struct
 	pWb35Tx->EP2VM_status = pUrb->status;
 
 	/* For Linux 2.4. Interrupt will always trigger */
-	if (pHwData->SurpriseRemove) /* Let WbWlanHalt to handle surprise remove */
+	if (pHwData->SurpriseRemove) /* Let WbWlanHalt handle surprise remove */
 		goto error;
 
 	if (pWb35Tx->tx_halt)

             reply	other threads:[~2012-09-26 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 18:15 Harsh Kumar [this message]
2012-09-26 20:22 ` [Patch 2/5] Staging: winbond: Typo corrections in comments Dan Carpenter

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=5063437B.70808@gmail.com \
    --to=harsh1kumar@gmail.com \
    --cc=kernel-janitors@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