diff options
author | Stelian Pop <stelian@popies.net> | 2008-04-03 12:51:41 (GMT) |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-04-06 21:21:17 (GMT) |
commit | 5275653fa12b30cea6e309cc03e518bfd00073a5 (patch) | |
tree | 4f9810d59c95eb5133daf5223a1e8b9ba53fca1d | |
parent | 8d855317fcf7fd9bd900d1e5ef1bea1b14bbe6af (diff) | |
download | linux-fsl-qoriq-5275653fa12b30cea6e309cc03e518bfd00073a5.tar.xz |
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>
-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 71d3c51..ddb7301 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); |