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>
This commit is contained in:
parent
8d855317fc
commit
5275653fa1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue