usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1)
authorMing Lei <tom.leiming@gmail.com>
Thu, 28 Jul 2011 14:59:53 +0000 (22:59 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 12 Aug 2011 08:52:39 +0000 (11:52 +0300)
commit15154962f777e4ab38adb7641ccae92194c9a96b
tree5e6874306881a82ed85f76093f0fd829f5a1e6e2
parent71964b9a0c06f2804be3b6ff47fab07a9468ecb4
usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1)

Obviously, disabling & put regulator and iounmap(hcd->regs)
are missed in .remove and failure handling path of .probe,
so add them.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Keshava Munegowda <Keshava_mgowda@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-omap.c