From: Torsten Fleischer Date: Sun, 26 Oct 2014 11:33:13 +0000 (+0800) Subject: usb: chipidea: Fix oops when removing the ci_hdrc module X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9680b60ed79edaf52f84b65cbb20859bbb26cb68;p=pandora-kernel.git usb: chipidea: Fix oops when removing the ci_hdrc module The call of 'kfree(ci->hw_bank.regmap)' in ci_hdrc_remove() sometimes causes a kernel oops when removing the ci_hdrc module. Since there is no separate memory allocated for the ci->hw_bank.regmap array, there is no need to free it. Cc: v3.14+ Signed-off-by: Torsten Fleischer Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed