usb: gadget: Use correct APIs and data types for UUID handling
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Jan 2023 14:34:25 +0000 (16:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2023 09:37:29 +0000 (10:37 +0100)
commit2bf40502badf9bc15a487244dd23ce0b08c306c0
tree40149208ce00cdeea3d83ab11a30110a3d57725a
parente4157519ad46c7bd81b1c1e76d634aa0033d00e5
usb: gadget: Use correct APIs and data types for UUID handling

We have two types for UUIDs depending on the byte ordering.
Instead of explaining how bytes should go over the wire,
use dedicated APIs and data types. This removes a confusion
over the byte ordering.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-By: Jó Ágila Bitsch <jgilab@gmail.com>
Link: https://lore.kernel.org/r/20230125143425.85268-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/composite.c
include/linux/usb/webusb.h