hw/mips/gt64xxx_pci: Resolve gt64120_register()
commitaa85a461efd5dc2b44102228db373dc77df826d7
authorBernhard Beschow <shentey@gmail.com>
Thu, 17 Feb 2022 10:19:24 +0000 (17 11:19 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 8 Mar 2022 18:38:13 +0000 (8 19:38 +0100)
tree53462a9fb0936f44c1f1c5edb073b41ab918d447
parent0e75526e4d7850d33feae69c21f503d795420e2d
hw/mips/gt64xxx_pci: Resolve gt64120_register()

Now that gt64120_register() lost its pic parameter, there is an
opportunity to remove it. gt64120_register() is old style by wrapping
qdev API, and the new style is to use qdev directly. So take the
opportunity and modernize the code.

Suggested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20220217101924.15347-8-shentey@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/mips/gt64xxx_pci.c
hw/mips/malta.c
include/hw/mips/mips.h