diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2009-12-28 06:40:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:53:49 -0500 |
commit | d3ae8562d43fe2b97d605dd67dc67bf8fa9b956a (patch) | |
tree | 60633a5e314245e26ed6d6b5ada521ba520bb617 /drivers/usb/host/ehci-omap.c | |
parent | 5fc4e77911f457b6aa910c704eebe3a58d334116 (diff) |
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>
Diffstat (limited to 'drivers/usb/host/ehci-omap.c')
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 74d07f4e8b7..2460f0d8299 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c | |||
@@ -681,6 +681,7 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev) | |||
681 | iounmap(omap->tll_base); | 681 | iounmap(omap->tll_base); |
682 | iounmap(omap->uhh_base); | 682 | iounmap(omap->uhh_base); |
683 | usb_put_hcd(hcd); | 683 | usb_put_hcd(hcd); |
684 | kfree(omap); | ||
684 | 685 | ||
685 | return 0; | 686 | return 0; |
686 | } | 687 | } |