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>
Mon, 1 Aug 2011 19:06:48 +0000 (22:06 +0300)
commitd4aefec5daf51ebda90ebf0989598c206cf8e640
tree508eb35a01ea0e3ceeb85af92981d46fa6fd952a
parentc240d78a8f9b1d4e1d391203f4a698117fae3474
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