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)
commit9cb07563721cb05f91b517aefd70b57ba8a1d5aa
tree7c27a69df6b6c49fbe34478c6bae0c11ca364729
parent390a0a78067c487609ba5bd18c264f7d5b6f4e96
USB: ehci-s5p: 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/ehci-s5p.c