hyper-v: Use UUID API for exporting the GUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Apr 2020 12:59:37 +0000 (15:59 +0300)
committerWei Liu <wei.liu@kernel.org>
Wed, 22 Apr 2020 13:40:02 +0000 (14:40 +0100)
commit1d3c9c075462e9c5a474248e4b433861572f33e9
treee5d47dc7ea40e19f188e173dfcc45b6dd4d443a8
parent421f090c819d695942a470051cd624dc43deaf95
hyper-v: Use UUID API for exporting the GUID

There is export_guid() function which exports guid_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>
Link: https://lore.kernel.org/r/20200422125937.38355-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv_trace.h