usb: otg: mv_otg: use devm_xxx for probe
authorChao Xie <chao.xie@marvell.com>
Thu, 24 Jan 2013 06:38:28 +0000 (01:38 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 19:11:34 +0000 (21:11 +0200)
commitfb3dfe13d0cc7e76c9d4a73a72f17f80f63590a7
tree53cccf0e50cde65a34257832a2db1ccfc73d958a
parent6a6f05f09772dfe2fa0a5a3ec6b786f4a40e7e54
usb: otg: mv_otg: use devm_xxx for probe

use devm_xxx for otg 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/otg/mv_otg.c