USB: ohci-exynos: Add missing usb_put_hcd() to prevent memory leak
authorJingoo Han <jg1.han@samsung.com>
Thu, 10 Oct 2013 01:02:38 +0000 (10:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 23:31:15 +0000 (16:31 -0700)
commita72e2e5cc2e74ed793a0651e072a8529cfb93631
treeaaeba1713699bafc4592feec5aa3e43aed2a3068
parent0fc924bd4eecc45f05cc8437c28a8f33f9c45d3b
USB: ohci-exynos: Add missing usb_put_hcd() to prevent memory leak

When devm_usb_get_phy() fails, usb_put_hcd() should be called
to prevent memory leak.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-exynos.c