From: Bernhard Beschow<shentey@gmail.com>
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>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
hw/mips/gt64xxx_pci.c | 21 ++++-----------------
hw/mips/malta.c | 3 ++-
include/hw/mips/mips.h | 3 ---
3 files changed, 6 insertions(+), 21 deletions(-)