mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
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
@ -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 New Issue
Block a user