From: Ajay Kumar Gupta Date: Thu, 18 Mar 2010 11:28:35 +0000 (+0530) Subject: USB: ehci: omap: fix kernel panic with rmmod X-Git-Tag: v2.6.34-rc6~60^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f91196b6e7994bd694a96a6c3b0ac1f3e81d82;p=pandora-kernel.git USB: ehci: omap: fix kernel panic with rmmod Sets the regulator values to NULL if they are not defined. This is required to fix the kernel panic in exit path when EHCI module is removed on the platforms where EHCI regulator are not set. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed