char/tpm/tpm_i2c_stm_st33: Don't use memcpy for one byte assignment
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 29 Jan 2013 21:01:59 +0000 (22:01 +0100)
committerKent Yoder <key@linux.vnet.ibm.com>
Tue, 5 Feb 2013 15:38:25 +0000 (09:38 -0600)
We don't need to call memcpy for one byte, but assign it directly.
And to make the offset clearer we use the array syntax on the subsequent
call to memset to make the relationship clearer.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

No differences found