diff options
author | Stelian Pop <stelian@popies.net> | 2008-04-03 14:51:41 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-04-06 17:21:17 -0400 |
commit | 5275653fa12b30cea6e309cc03e518bfd00073a5 (patch) | |
tree | 4f9810d59c95eb5133daf5223a1e8b9ba53fca1d /drivers | |
parent | 8d855317fcf7fd9bd900d1e5ef1bea1b14bbe6af (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')
-rw-r--r-- | drivers/usb/gadget/atmel_usba_udc.c | 1 |
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 71d3c5171f8..ddb7301a013 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) gpio_free(udc->vbus_pin); free_irq(udc->irq, udc); + kfree(usba_ep); iounmap(udc->fifo); iounmap(udc->regs); clk_put(udc->hclk); |