qemu-e2k/hw/usb
Stefan Hajnoczi 02a5c4c974 qdev: Drop misleading qdev_free() function
The qdev_free() function name is misleading since all the function does
is unlink the device from its parent.  The device is not necessarily
freed.

The device will be freed when its QObject refcount reaches zero.  It is
usual for the parent (bus) to hold the final reference but there are
cases where something else holds a reference so "free" is a misleading
name.

Call object_unparent(obj) directly instead of having a qdev wrapper
function.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-11-05 18:06:38 +01:00
..
bus.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
ccid-card-emulated.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid-card-passthru.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
combined-packet.c usb: Fix iovec memleak on combined-packet free 2013-09-19 11:28:40 +02:00
core.c usb: Also reset max_packet_size on ep_reset 2013-09-19 11:28:40 +02:00
desc.c usb: add serial bus property 2013-06-24 08:41:07 +02:00
desc.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
dev-audio.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-bluetooth.c Remove dev-bluetooth.c dependency from vl.c 2013-09-10 11:14:42 +02:00
dev-hid.c usb/dev-hid: Modified usb-tablet category from Misc to Input 2013-09-02 11:06:20 +02:00
dev-hub.c Revert "usb-hub: report status changes only once" 2013-09-02 11:06:20 +02:00
dev-network.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-serial.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-smartcard-reader.c qdev: Pass size to qbus_create_inplace() 2013-08-30 21:15:35 +02:00
dev-storage.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
dev-uas.c Merge remote-tracking branch 'kraxel/usb.88' into staging 2013-09-03 12:31:30 -05:00
dev-wacom.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
hcd-ehci-sysbus.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci.c ehci: save device pointer in EHCIState 2013-09-10 11:14:42 +02:00
hcd-ehci.h ehci: save device pointer in EHCIState 2013-09-10 11:14:42 +02:00
hcd-musb.c usb: Pass size to usb_bus_new() 2013-08-30 20:14:39 +02:00
hcd-ohci.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
hcd-uhci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
hcd-xhci.c Merge remote-tracking branch 'kraxel/usb.91' into staging 2013-10-31 17:00:25 +01:00
host-legacy.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
host-libusb.c usb-host-libusb: Detach kernel drivers earlier 2013-10-22 16:28:49 +02:00
host-stub.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host.h usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
libhw.c dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
Makefile.objs Remove dev-bluetooth.c dependency from vl.c 2013-09-10 11:14:42 +02:00
quirks-ftdi-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks-pl2303-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.c usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
redirect.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00