dev-serial: replace DeviceOutVendor/DeviceInVendor with equivalent macros from usb.h
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 27 Oct 2020 15:04:53 +0000 (15:04 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Nov 2020 06:22:37 +0000 (07:22 +0100)
commit687dfe63e3d9dd8a1a682a7da76bec75a5f656ba
treed773bb7dd4726091df67c13fe04715678fd851f3
parent655ec806c86621a8f5fe3a278649b3b6ba2bc829
dev-serial: replace DeviceOutVendor/DeviceInVendor with equivalent macros from usb.h

The DeviceOutVendor and DeviceInVendor macros can be replaced with their
equivalent VendorDeviceOutRequest and VendorDeviceRequest macros from usb.h.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20201027150456.24606-6-mark.cave-ayland@ilande.co.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-serial.c