tpm: Fix some name collisions with drivers/char/tpm.h
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 5 Feb 2019 09:14:00 +0000 (11:14 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 8 Feb 2019 21:13:02 +0000 (23:13 +0200)
commit8ab547a2dcfac6ec184a5e036e1093eb3f7a215c
treed534640b271e7a88018ce3d879081c8a4b5bcb2c
parent3d7a850fdc1a2e4d2adbc95cc0fc962974725e88
tpm: Fix some name collisions with drivers/char/tpm.h

* Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to
  ST33ZP24_BUFSIZE.
* Rename TPM_BUFSIZE defined in drivers/char/tpm/tpm_i2c_infineon.c to
  TPM_I2C_INFINEON_BUFSIZE.
* Rename TPM_RETRY in tpm_i2c_nuvoton to TPM_I2C_RETRIES.
* Remove TPM_HEADER_SIZE from tpm_i2c_nuvoton.

Cc: stable@vger.kernel.org
Fixes: bf38b8710892 ("tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy)")
Fixes: aad628c1d91a ("char/tpm: Add new driver for Infineon I2C TIS TPM")
Fixes: 32d33b29ba07 ("TPM: Retry SaveState command in suspend path")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/st33zp24/i2c.c
drivers/char/tpm/st33zp24/spi.c
drivers/char/tpm/st33zp24/st33zp24.h
drivers/char/tpm/tpm_i2c_infineon.c
drivers/char/tpm/tpm_i2c_nuvoton.c