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:
Stelian Pop 2008-04-03 14:51:41 +02:00 committed by Haavard Skinnemoen
parent 8d855317fc
commit 5275653fa1

View file

@ -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);