usb: host: ehci: fix missing kfree in remove path also

Added missing kfree() in ehci_hcd_omap_remove().

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Ajay Kumar Gupta 2009-12-28 13:40:45 +02:00 committed by Greg Kroah-Hartman
parent 5fc4e77911
commit d3ae8562d4

View file

@ -681,6 +681,7 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev)
iounmap(omap->tll_base);
iounmap(omap->uhh_base);
usb_put_hcd(hcd);
kfree(omap);
return 0;
}