]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd7f4bd69543f6335e1c32080ef175139316784a
treeea7d76b9594998e0745525b8ca6a616ebeaba8e6
parent484294a61c8ef2fa40541cb31bec5c4a0edca112
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