usb: replace handle_destroy with unrealize
commitc4fe9700e6bb769059608f768d2efd3d80a69630
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 21 Feb 2017 14:14:45 +0000 (21 18:14 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 23 Feb 2017 14:40:19 +0000 (23 15:40 +0100)
tree4ea9be9088a26b520d9043785dab4ba2d1045b98
parent796b288f7be875045670f963ce99991b3c8e96ac
usb: replace handle_destroy with unrealize

Curiously, unrealize() is not being used, but it seems more
appropriate than handle_destroy() together with realize(). It is more
ubiquitous destroy name in qemu code base and may throw errors.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170221141451.28305-25-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
12 files changed:
hw/usb/bus.c
hw/usb/dev-audio.c
hw/usb/dev-bluetooth.c
hw/usb/dev-hid.c
hw/usb/dev-hub.c
hw/usb/dev-network.c
hw/usb/dev-smartcard-reader.c
hw/usb/dev-uas.c
hw/usb/dev-wacom.c
hw/usb/host-libusb.c
hw/usb/redirect.c
include/hw/usb.h