usb: dwc3: exynos: use devm_ functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 13 Nov 2012 02:20:49 +0000 (11:20 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 08:11:34 +0000 (10:11 +0200)
commit20b97dc18323938a92319abf031936b7d2686eaf
treefcee44379d587e63dfce49a9ebeb6b85307762bf
parent5da93478251cf0dd6b34874c7c1c24a4a52eabc1
usb: dwc3: 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: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-exynos.c