usb: dwc3: use devm_xxx functions
authorChanho Park <chanho61.park@samsung.com>
Wed, 15 Feb 2012 09:27:55 +0000 (18:27 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 2 Mar 2012 10:11:59 +0000 (12:11 +0200)
This patch enables to use devm_xxx functions during probing driver.
The devm_xxx series functions are able to release resource when the
driver is detatched. We can remove several codes to release resources
in the probe function.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found