drm/virtio: Use UUID API for importing the UUID
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Oct 2020 13:27:14 +0000 (16:27 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 14 Oct 2020 07:30:19 +0000 (09:30 +0200)
commit412ae84cb4dd2bd1cccbeb996fee47cf4d80a3ad
tree52c71882fcf51065d382f7d7e0c6e876835a1826
parent8bca49e43fb5994bd2a03f3f114cf89bc6f87a14
drm/virtio: Use UUID API for importing the UUID

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

This allows to hide the uuid_t internals.

Reviewed-by: David Stevens <stevensd@chromium.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201013132714.70973-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c