aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-04-03 08:51:41 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-04-06 17:21:17 -0400
commit5275653fa12b30cea6e309cc03e518bfd00073a5 (patch)
tree4f9810d59c95eb5133daf5223a1e8b9ba53fca1d /drivers/usb
parent8d855317fcf7fd9bd900d1e5ef1bea1b14bbe6af (diff)
atmel_usba_udc: Add missing kfree() in usba_udc_remove()
Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/atmel_usba_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
index 71d3c5171f89..ddb7301a0138 100644
--- a/drivers/usb/gadget/atmel_usba_udc.c
+++ b/drivers/usb/gadget/atmel_usba_udc.c
@@ -1998,6 +1998,7 @@ static int __exit usba_udc_remove(struct platform_device *pdev)
1998 gpio_free(udc->vbus_pin); 1998 gpio_free(udc->vbus_pin);
1999 1999
2000 free_irq(udc->irq, udc); 2000 free_irq(udc->irq, udc);
2001 kfree(usba_ep);
2001 iounmap(udc->fifo); 2002 iounmap(udc->fifo);
2002 iounmap(udc->regs); 2003 iounmap(udc->regs);
2003 clk_put(udc->hclk); 2004 clk_put(udc->hclk);