]> 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:26:11 +0000 (17:26 +0300)
commit604e57888499c149d0aca4b1ac39da07da040fcb
tree5016b63a6333432da1383e4f303c2bd597181ad0
parentadd40d6df6babc43e587e9c8c6a2c1320bc78c98
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