]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit794df4886b95e20dcdbbe2c309e017731ef5c4cf
treedd561e24bce0991301d094942223231d6088f565
parent25512446d5ea29697c82e82dbaa3624232ab0139
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