fwcfg: QOM'ify some more
commit2ce92a1102be22e2bb82267351834713b8c31542
authorHu Tao <hutao@cn.fujitsu.com>
Mon, 1 Jul 2013 10:18:32 +0000 (1 18:18 +0800)
committerAndreas Färber <afaerber@suse.de>
Mon, 22 Jul 2013 22:37:34 +0000 (23 00:37 +0200)
treed8de881f3b457ab3bf703db6af0c08cba026295b
parentb3b162c3cfb88a57390fef581c1be99648d6d8ab
fwcfg: QOM'ify some more

Use type constant if possible 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/nvram/fw_cfg.c