usb: gadget: mv_udc: use devm_xxx for probe
authorChao Xie <chao.xie@marvell.com>
Thu, 24 Jan 2013 06:38:26 +0000 (01:38 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 19:11:33 +0000 (21:11 +0200)
commit3517c31a8ece660aadcbabd4ac98611cedb7af04
treef71379c15ca9f8ee087ab5c018a1ac7e56b277a3
parent2d7ebbb0946e9e13285eee348df1dbc48f0580e0
usb: gadget: mv_udc: use devm_xxx for probe

use devm_xxx for udc driver probe. So we do need care about
the resources release in driver remove or failure handling
in driver probe.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c