USB: ohci-s3c2410: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 8 Oct 2012 02:28:25 +0000 (11:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 21:40:50 +0000 (14:40 -0700)
commit801f00633568ed6d5eebef5ef10d8b5661379f2c
treeed8eeec018bc3f0d46006e8c1e1e7f8b5a599ec6
parent30b1e495b81321f572020a2f5266ece3ed1a6ecd
USB: ohci-s3c2410: 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>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-s3c2410.c