mbox series

[0/3] hw/pci-host/sh_pcic: Style cleanup

Message ID 20231012041237.22281-1-philmd@linaro.org
Headers show
Series hw/pci-host/sh_pcic: Style cleanup | expand

Message

Philippe Mathieu-Daudé Oct. 12, 2023, 4:12 a.m. UTC
- Use QOM DEFINE_TYPES
- Rename few functions
- Replace magic value by definition

Philippe Mathieu-Daudé (3):
  hw/pci-host/sh_pcic: Declare CPU QOM types using DEFINE_TYPES() macro
  hw/pci-host/sh_pcic: Correct PCI host / devfn#0 function names
  hw/pci-host/sh_pcic: Replace magic value by proper definition

 hw/pci-host/sh_pci.c | 57 ++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 31 deletions(-)

Comments

Philippe Mathieu-Daudé Oct. 16, 2023, 9:44 a.m. UTC | #1
On 12/10/23 06:12, Philippe Mathieu-Daudé wrote:

> Philippe Mathieu-Daudé (3):
>    hw/pci-host/sh_pcic: Declare CPU QOM types using DEFINE_TYPES() macro
>    hw/pci-host/sh_pcic: Correct PCI host / devfn#0 function names
>    hw/pci-host/sh_pcic: Replace magic value by proper definition

Series queued, thanks.