tpm/st33zp24/spi: Remove useless use of memcpy.
authorChristophe RICARD <christophe.ricard@gmail.com>
Sat, 13 Feb 2016 15:15:26 +0000 (16:15 +0100)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:11 +0000 (17:26 +0300)
commitd34306e28891257e3c4e8c172af19d70f84fa272
tree7d5d3cdb293295ec42e41a720ebc33adf774d411
parent8a7450039a7b2a67f61f671a9aeb11b5176e2adc
tpm/st33zp24/spi: Remove useless use of memcpy.

An affectation is enough when copying 1 byte. Remove memcpy usage where
possible.

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