Staging: winbond: Typo corrections in comments
authorHarsh Kumar <harsh1kumar@gmail.com>
Wed, 26 Sep 2012 18:03:39 +0000 (23:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 21:02:54 +0000 (14:02 -0700)
Few typo corrections in comments

Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/winbond/wb35tx.c

index a4074fd9d30b948e770b93fe2ac1ac2dd48877a3..9a826957fe5157239398543b198cbedf2fd9e947 100644 (file)
@@ -41,7 +41,7 @@ static void Wb35Tx_complete(struct urb * pUrb)
        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 * pHwData)
 
        /* 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 urb * pUrb)
        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)