scsi/esp: QOM'ify some more
commita71c7ec529adcd36fed5bb570a167ae2f9771750
authorHu Tao <hutao@cn.fujitsu.com>
Mon, 1 Jul 2013 10:18:34 +0000 (1 18:18 +0800)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:34 +0000 (23 00:37 +0200)
tree4763a3ffa5d4da6e93d145e67de048b01ca8543c
parent2ce92a1102be22e2bb82267351834713b8c31542
scsi/esp: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/scsi/esp.c