]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: add ptr to the tpm_space struct to file_priv
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 10 Sep 2018 17:18:28 +0000 (10:18 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 5 Oct 2018 10:47:33 +0000 (13:47 +0300)
commitc3d477a725ef6b3d17609d5dafc644cccc070cb9
tree055f6c7df57171b6d79e2d6e8891e01361885f80
parent2f7d8dbb11287cbe9da6380ca14ed5d38c9ed91f
tpm: add ptr to the tpm_space struct to file_priv

Add a ptr to struct tpm_space to the file_priv and consolidate
of the write operations for the two interfaces.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Tested-by: Philip Tricca <philip.b.tricca@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off--by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-dev-common.c
drivers/char/tpm/tpm-dev.c
drivers/char/tpm/tpm-dev.h
drivers/char/tpm/tpmrm-dev.c