Re: [PATCH v4 7/7] hw/mips/gt64xxx_pci: Resolve gt64120_register()

2022-02-17 Thread BALATON Zoltan
On Thu, 17 Feb 2022, Bernhard Beschow wrote: 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: BA

[PATCH v4 7/7] hw/mips/gt64xxx_pci: Resolve gt64120_register()

2022-02-17 Thread Bernhard Beschow
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 Signed-off-by: Bernhard Beschow