Commit 5275653f authored by Stelian Pop's avatar Stelian Pop Committed by Haavard Skinnemoen

atmel_usba_udc: Add missing kfree() in usba_udc_remove()

Signed-off-by: default avatarStelian Pop <stelian@popies.net>
Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent 8d855317
...@@ -1998,6 +1998,7 @@ static int __exit usba_udc_remove(struct platform_device *pdev) ...@@ -1998,6 +1998,7 @@ static int __exit usba_udc_remove(struct platform_device *pdev)
gpio_free(udc->vbus_pin); gpio_free(udc->vbus_pin);
free_irq(udc->irq, udc); free_irq(udc->irq, udc);
kfree(usba_ep);
iounmap(udc->fifo); iounmap(udc->fifo);
iounmap(udc->regs); iounmap(udc->regs);
clk_put(udc->hclk); clk_put(udc->hclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment