]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: make check_locality return bool
authorJerry Snitselaar <jsnitsel@redhat.com>
Sat, 18 Mar 2017 08:59:57 +0000 (01:59 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 3 Apr 2017 19:46:02 +0000 (22:46 +0300)
commit84d25940678b7f93665d0964c9729680fa4a97e9
tree4aa7db7e0fb56e77fc83bb013937edac9053f304
parent67c2f3d388efe1a47e201b906d80545eaab7da22
tpm: make check_locality return bool

Since check_locality is checking to see if a certain
locality is active, return true if active otherwise
return false.

Cc: Christophe Ricard <christophe.ricard@gmail.com>
Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Cc: Marcel Selhorst <tpmdd@selhorst.net>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/st33zp24/st33zp24.c
drivers/char/tpm/tpm_i2c_infineon.c
drivers/char/tpm/tpm_tis_core.c