usb: chipidea: Fix memleak for ci->hw_bank.regmap when removal
authorPeter Chen <peter.chen@freescale.com>
Tue, 17 Sep 2013 04:37:21 +0000 (12:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:30:29 +0000 (17:30 -0700)
commit222bed9b2dff53e4402d4819d6fca09e26b765fb
tree31dd485c2272014fccc000be16dc59fc7e4c85ae
parentf84839daa793f36ec7f8795d7510f0d61fa8875a
usb: chipidea: Fix memleak for ci->hw_bank.regmap when removal

It needs to free ci->hw_bank.regmap explicitly since it is not managed
resource.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c