USB: ohci-exynos: use devm_clk_get()
authorJingoo Han <jg1.han@samsung.com>
Thu, 4 Oct 2012 07:11:50 +0000 (16:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 21:39:52 +0000 (14:39 -0700)
commit60d80adbac9b7492439b1d0665353bc2117b4d78
treeea7d76b9594998e0745525b8ca6a616ebeaba8e6
parentc05c946c68e381074dde259d8ce243da1b1aae02
USB: ohci-exynos: use devm_clk_get()

The devm_ functions allocate memory that is released when a driver
detaches. This patch uses devm_clk_get() for these functions.

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