qom: Tidy up a few object_initialize_child() calls
commit19dc7e977c145cf3683dc5d18d54ef3629e34619
authorMarkus Armbruster <armbru@redhat.com>
Wed, 10 Jun 2020 05:32:24 +0000 (10 07:32 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 15 Jun 2020 20:05:28 +0000 (15 22:05 +0200)
treeb4bfa72fbbc0d0cc6f1429da946459394b93d5c1
parentcd9ae806cdad8f1992e0ac9198c114c636693764
qom: Tidy up a few object_initialize_child() calls

The callers of object_initialize_child() commonly  pass either
&child, sizeof(child), or pchild, sizeof(*pchild).  Tidy up the few
that don't, mostly to keep the next commit simpler.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-36-armbru@redhat.com>
hw/arm/aspeed.c
hw/microblaze/xlnx-zynqmp-pmu.c
hw/pci-host/pnv_phb4.c
hw/riscv/riscv_hart.c