Ji-Hun Kim f5495bb9ac tpm: replace kmalloc() + memcpy() with kmemdup()
Use kmemdup rather than duplicating its implementation.

Signed-off-by: Ji-Hun Kim <ji_hun.kim@samsung.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>
2018-05-14 13:59:52 +03:00
..
2018-02-06 09:59:40 -08:00
2018-03-14 19:13:47 +01:00
2017-08-28 17:11:28 +02:00
2018-04-04 20:07:20 -07:00
2018-03-26 15:56:35 +02:00
2011-03-31 11:26:23 -03:00
2016-01-22 18:04:28 -05:00
2011-01-10 08:51:44 -08:00