提交 5275653f 编写于 作者: S Stelian Pop 提交者: Haavard Skinnemoen

atmel_usba_udc: Add missing kfree() in usba_udc_remove()

Signed-off-by: NStelian Pop <stelian@popies.net>
Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
上级 8d855317
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册