USB: ohci-exynos: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Jun 2012 07:30:30 +0000 (16:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 17:42:21 +0000 (10:42 -0700)
commit390a0a78067c487609ba5bd18c264f7d5b6f4e96
treed4caaf950d91c805f204ea9d94a4ed5018804490
parente864abed546f9f4b76a3580fb3c53cd389e0c015
USB: ohci-exynos: use devm_ functions

The devm_ functions allocate memory that is released when a driver
detaches. This makes the code smaller and a bit simpler.

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