USB: ehci-s5p: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Jun 2012 07:29:46 +0000 (16:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 17:42:21 +0000 (10:42 -0700)
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>

No differences found