tpm/st33zp24: Remove unneeded tpm_reg in get_burstcount
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 23 Mar 2016 07:55:34 +0000 (08:55 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commitddab0e34288a233ffd8763aa7c938d61ab128c0b
treeb379e10211618cfcb67938576aaa52bb2fbeacc1
parent20ab99f89d574ba3c3944a6682bec5a6e0c0dcd9
tpm/st33zp24: Remove unneeded tpm_reg in get_burstcount

We can get rid of tpm_reg variable in get_burstcount.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/st33zp24/st33zp24.c