sysbus: Drop useless OBJECT() in sysbus_init_child_obj() calls
commit9bdee7f4a5b45f0240c9296fe0daacb6c08f247c
authorMarkus Armbruster <armbru@redhat.com>
Wed, 10 Jun 2020 05:32:28 +0000 (10 07:32 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 15 Jun 2020 20:05:28 +0000 (15 22:05 +0200)
tree004fdc54043c9b448aa525245e783bf45ae127eb
parent8fb9cfe762e6d5d6d9d2241dc4d25475ecd3e77d
sysbus: Drop useless OBJECT() in sysbus_init_child_obj() calls

OBJECT(child) expands to ((Object *)(child)).  sysbus_init_child_obj()
parameter @child is void *.  Pass child instead of OBJECT(child).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-40-armbru@redhat.com>
hw/arm/allwinner-a10.c
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
hw/arm/nrf51_soc.c
hw/mips/boston.c
hw/mips/malta.c