]> 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)
commit0fdca1bf78ca074169fce774cc3bd8781daae235
treee9358c4d4a32ea669a8b82728090ad8f04955811
parentc1226fc7300bf23221162f290c9efc8376bae847
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