tpm: add module_put wrapper
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 23 Nov 2010 22:50:32 +0000 (17:50 -0500)
committerJames Morris <jmorris@namei.org>
Sun, 28 Nov 2010 21:55:19 +0000 (08:55 +1100)
For readability, define a tpm_chip_put() wrapper to call module_put().
Replace existing module_put() calls with the wrapper.

(Change based on trusted/encrypted patchset review by David Howells.)

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: David Safford <safford@watson.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found