usb: gadget: atmel_usba: Use devm_*() functions
authorJingoo Han <jg1.han@samsung.com>
Mon, 16 Dec 2013 06:13:31 +0000 (15:13 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Dec 2013 19:17:42 +0000 (13:17 -0600)
commit40a8fb2a671319c589baa9995e7b6f3b8c72c30c
tree25849790be055c795d957c4d31ef98fcfc7b43b1
parent45ab460975c5433d1bd81b211fe643732abaae19
usb: gadget: atmel_usba: Use devm_*() functions

Use devm_*() functions to make cleanup paths simpler.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/atmel_usba_udc.c