Skip to content

Commit

Permalink
atmel_usba_udc: Add missing kfree() in usba_udc_remove()
Browse files Browse the repository at this point in the history
Signed-off-by: Stelian Pop <[email protected]>
Signed-off-by: Haavard Skinnemoen <[email protected]>
  • Loading branch information
stelian42 authored and Haavard Skinnemoen committed Apr 6, 2008
1 parent 8d85531 commit 5275653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/gadget/atmel_usba_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5275653

Please sign in to comment.