[PATCH] tpm: fix bug introduced by the /proc/misc
authorKylene Jo Hall <kjhall@us.ibm.com>
Thu, 30 Jun 2005 09:58:50 +0000 (02:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 15:45:09 +0000 (08:45 -0700)
commit9a936eb928c1a253c2e5d66b947688bdc55094a6
tree5fbd22dc7b43bc8d27d06360bb633c8d1a3164ec
parentee93b43a05506667d771c4fb0c384301edd7d036
[PATCH] tpm: fix bug introduced by the /proc/misc

In fixing the /proc/misc problem that was reported last week where the tpm
module name was being obfuscated in /proc/misc I introduced a bug in the
module unloading code.  This patch fixes the problem.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm.c