]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm/st33zp24/spi: Remove nbr_dummy_bytes variable usage
authorChristophe RICARD <christophe.ricard@gmail.com>
Sat, 13 Feb 2016 15:15:24 +0000 (16:15 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:21:42 +0000 (17:21 +0300)
commit9feaab5dd27c5caf13368055ced9d58a8302ff21
tree24debf28740ef637d99fafe0f143d8b24e1d3338
parent26703c636c1f3272b39bd0f6d04d2e970984f1b6
tpm/st33zp24/spi: Remove nbr_dummy_bytes variable usage

nbr_dummy_bytes variable could be easily replaced by phy->latency in
st33zp24_spi_send and st33zp24_spi_recv.

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/spi.c