OSDN Git Service

tpm/tpm_ftpm_tee: Use UUID API for exporting the UUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 13:01:35 +0000 (16:01 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 22 May 2020 15:50:12 +0000 (18:50 +0300)
commit8c872863b4400d0c8e31a2ac16389fcaaede5e3c
treedd561e24bce0991301d094942223231d6088f565
parent051143e1602d90ea71887d92363edd539d411de5
tpm/tpm_ftpm_tee: Use UUID API for exporting the UUID

There is export_uuid() function which exports uuid_t to the u8 array.
Use it instead of open coding variant.

This allows to hide the uuid_t internals.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_ftpm_tee.c