]> git.proxmox.com Git - mirror_qemu.git/commit
usb/hcd-xhci: QOM Upcast Sweep
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 24 Jun 2013 06:52:45 +0000 (16:52 +1000)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:33 +0000 (00:37 +0200)
commit37034575d23a06447e4f44ab365afec6b198c53f
treeb1689ff870211d1cc1fe47139be75c1bf30edd97
parent1f8c79468594cc059eac7a26d37fba48107cb2e4
usb/hcd-xhci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
[AF: Dropped usb_xhci_init() DeviceState argument and renamed variable]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/usb/hcd-xhci.c