]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d4080c19842e399870744a9a96a08324f981f6f
treefcee44379d587e63dfce49a9ebeb6b85307762bf
parentf8b261672ca949f4eaf3fdf492f8d68828f27aa8
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