]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tee: optee: Use UUID API for exporting the UUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 13:00:47 +0000 (16:00 +0300)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 13 Oct 2020 06:03:18 +0000 (08:03 +0200)
commit57222a1be27e06ecb81cc2f945e897814d5f461c
treec9efec79c37db2d4f3df66903a635abd16bbc377
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
tee: optee: 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.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/device.c