tpm: migrate pubek_show to struct tpm_buf
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 20 Jun 2017 09:38:03 +0000 (11:38 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 12 Oct 2017 11:28:59 +0000 (14:28 +0300)
commitda379f3c1db0c9a1fd27b11d24c9894b5edc7c75
treee9358c4d4a32ea669a8b82728090ad8f04955811
parent25eabb13c7d67ae32298015c5e28d00f604f412c
tpm: migrate pubek_show to struct tpm_buf

Migrated pubek_show to struct tpm_buf and cleaned up its implementation.
Previously the output parameter structure was declared but left
completely unused. Now it is used to refer different fields of the
output. We can move it to tpm-sysfs.c as it does not have any use
outside of that file.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-sysfs.c
drivers/char/tpm/tpm.h