On 3/7/22 03:43, Philippe Mathieu-Daudé wrote:
From: Bernhard Beschow<shen...@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<bala...@eik.bme.hu>
Signed-off-by: Bernhard Beschow<shen...@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé<f4...@amsat.org>
Reviewed-by: BALATON Zoltan<bala...@eik.bme.hu>
Message-Id:<20220217101924.15347-8-shen...@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé<f4...@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(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to