diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2010-12-30 18:07:58 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-03 10:08:59 -0500 |
commit | 48e34d0f4f357bb24fa4c6f84a93b9b8349db722 (patch) | |
tree | 25c40bc72e9169a00682ec0d5809ee0b3eb73483 /drivers/usb/gadget/langwell_udc.c | |
parent | f3449bf31d352f70c80a7993c272a7854ae98086 (diff) |
drivers: fix comment typo diable -> disable.
The below patch fixes a typo "diable" to "disable" and also fixes another typo in a comment.
Please let me know if this is correct or not.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/gadget/langwell_udc.c')
-rw-r--r-- | drivers/usb/gadget/langwell_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index b8ec954c0692..dad278fe0555 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c | |||
@@ -3063,7 +3063,7 @@ static void langwell_udc_remove(struct pci_dev *pdev) | |||
3063 | 3063 | ||
3064 | kfree(dev->ep); | 3064 | kfree(dev->ep); |
3065 | 3065 | ||
3066 | /* diable IRQ handler */ | 3066 | /* disable IRQ handler */ |
3067 | if (dev->got_irq) | 3067 | if (dev->got_irq) |
3068 | free_irq(pdev->irq, dev); | 3068 | free_irq(pdev->irq, dev); |
3069 | 3069 | ||
@@ -3383,7 +3383,7 @@ static int langwell_udc_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3383 | /* disable interrupt and set controller to stop state */ | 3383 | /* disable interrupt and set controller to stop state */ |
3384 | langwell_udc_stop(dev); | 3384 | langwell_udc_stop(dev); |
3385 | 3385 | ||
3386 | /* diable IRQ handler */ | 3386 | /* disable IRQ handler */ |
3387 | if (dev->got_irq) | 3387 | if (dev->got_irq) |
3388 | free_irq(pdev->irq, dev); | 3388 | free_irq(pdev->irq, dev); |
3389 | dev->got_irq = 0; | 3389 | dev->got_irq = 0; |