On 3/7/22 03:43, Philippe Mathieu-Daudé wrote:
From: Bernhard Beschow<[email protected]>

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<[email protected]>
Signed-off-by: Bernhard Beschow<[email protected]>
Reviewed-by: Philippe Mathieu-Daudé<[email protected]>
Reviewed-by: BALATON Zoltan<[email protected]>
Message-Id:<[email protected]>
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  hw/mips/gt64xxx_pci.c  | 21 ++++-----------------
  hw/mips/malta.c        |  3 ++-
  include/hw/mips/mips.h |  3 ---
  3 files changed, 6 insertions(+), 21 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to