milkymist-ac97: QOM cast cleanup
authorAndreas Färber <afaerber@suse.de>
Wed, 24 Jul 2013 08:15:29 +0000 (10:15 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:05:58 +0000 (21:05 +0200)
commit922cc6010e09ed5b976b2e60228b3d6fb09aa3a5
tree1edb657afaf46b041bbb34bc7bb9716a3baf9de6
parent9e3f8599fc9b3a408fdaaa5a38d6bc328c08c4bb
milkymist-ac97: QOM cast cleanup

Introduce a type constant, use QOM casts and rename the parent field.

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/audio/milkymist-ac97.c