]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit251e1ce22d40555311e809f5a4929d3df5d0d229
treee9358c4d4a32ea669a8b82728090ad8f04955811
parent94ef9f1bb66919a7dfe6b8d44acbfd11439ffe2e
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