commit | 64298919ad034aa07a6ec85b82e5c8861e364ae5 | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Tue Jan 29 22:01:59 2013 +0100 |
committer | Kent Yoder <key@linux.vnet.ibm.com> | Tue Feb 05 09:38:25 2013 -0600 |
tree | 3629ae0922e2825cca7e70eaabe7e7c9409ee055 | |
parent | d479042c82941772cb1c003b46707d55185a49f6 [diff] |
char/tpm/tpm_i2c_stm_st33: Don't use memcpy for one byte assignment 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>