scsi/megasas: QOM Upcast Sweep
commitc79e16ae044d265674ef43dfdd694c8fd0f49e19
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 24 Jun 2013 06:54:15 +0000 (24 16:54 +1000)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:33 +0000 (23 00:37 +0200)
tree00ca3018790cedff1950d03c5c6bef033e43e041
parent725eec7043bd010856899461817ccd2599a09362
scsi/megasas: 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>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/scsi/megasas.c