On Fri, Aug 06 2021, Eduardo Habkost <[email protected]> wrote:

> Replace typedef + DECLARE_INSTANCE_CHECKER with
> equivalent OBJECT_DECLARE_SIMPLE_TYPE macro.
>
> Generated using:
>
> $ ./scripts/codeconverter/converter.py -i \
>   --pattern=AddObjectDeclareSimpleType $(git grep -l '' -- '*.[ch]')
>
> Signed-off-by: Eduardo Habkost <[email protected]>
> ---
> Cc: Thomas Huth <[email protected]>
> Cc: Paul Burton <[email protected]>
> Cc: Aleksandar Rikalo <[email protected]>
> Cc: "Philippe Mathieu-Daudé" <[email protected]>
> Cc: Aurelien Jarno <[email protected]>
> Cc: Jiaxun Yang <[email protected]>
> Cc: Havard Skinnemoen <[email protected]>
> Cc: Tyrone Ting <[email protected]>
> Cc: Pavel Pisa <[email protected]>
> Cc: Vikram Garhwal <[email protected]>
> Cc: Jason Wang <[email protected]>
> Cc: Keith Busch <[email protected]>
> Cc: Klaus Jensen <[email protected]>
> Cc: "Michael S. Tsirkin" <[email protected]>
> Cc: Richard Henderson <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Cornelia Huck <[email protected]>
> Cc: Halil Pasic <[email protected]>
> Cc: Christian Borntraeger <[email protected]>
> Cc: Gerd Hoffmann <[email protected]>
> Cc: Vijai Kumar K <[email protected]>
> Cc: Alistair Francis <[email protected]>
> Cc: Bin Meng <[email protected]>
> Cc: Palmer Dabbelt <[email protected]>
> Cc: "Edgar E. Iglesias" <[email protected]>
> Cc: Peter Maydell <[email protected]>
> Cc: Laurent Vivier <[email protected]>
> Cc: "Cédric Le Goater" <[email protected]>
> Cc: Andrew Jeffery <[email protected]>
> Cc: Joel Stanley <[email protected]>
> Cc: Andrew Baumann <[email protected]>
> Cc: Francisco Iglesias <[email protected]>
> Cc: David Gibson <[email protected]>
> Cc: Greg Kurz <[email protected]>
> Cc: Bastian Koppelmann <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
> ---
>  hw/nvme/nvme.h                              | 10 +++-------
>  hw/usb/hcd-xhci-pci.h                       |  4 +---
>  hw/usb/hcd-xhci-sysbus.h                    |  4 +---
>  include/hw/adc/npcm7xx_adc.h                |  4 +---
>  include/hw/char/shakti_uart.h               |  4 +---
>  include/hw/dma/sifive_pdma.h                |  4 +---
>  include/hw/dma/xlnx_csu_dma.h               |  4 +---
>  include/hw/gpio/sifive_gpio.h               |  4 +---
>  include/hw/intc/m68k_irqc.h                 |  4 +---
>  include/hw/intc/sifive_clint.h              |  4 +---
>  include/hw/intc/sifive_plic.h               |  4 +---
>  include/hw/misc/aspeed_lpc.h                |  4 +---
>  include/hw/misc/bcm2835_cprman_internals.h  | 12 ++++--------
>  include/hw/misc/led.h                       |  3 +--
>  include/hw/misc/mchp_pfsoc_dmc.h            |  8 ++------
>  include/hw/misc/mchp_pfsoc_ioscb.h          |  4 +---
>  include/hw/misc/mchp_pfsoc_sysreg.h         |  4 +---
>  include/hw/misc/npcm7xx_clk.h               |  3 +--
>  include/hw/misc/npcm7xx_gcr.h               |  4 +---
>  include/hw/misc/npcm7xx_mft.h               |  4 +---
>  include/hw/misc/npcm7xx_pwm.h               |  3 +--
>  include/hw/misc/sifive_e_prci.h             |  4 +---
>  include/hw/misc/sifive_test.h               |  4 +---
>  include/hw/misc/sifive_u_otp.h              |  4 +---
>  include/hw/misc/sifive_u_prci.h             |  4 +---
>  include/hw/misc/xlnx-versal-xramc.h         |  4 +---
>  include/hw/net/npcm7xx_emc.h                |  4 +---
>  include/hw/net/xlnx-zynqmp-can.h            |  4 +---
>  include/hw/ppc/spapr_drc.h                  |  4 +---
>  include/hw/register.h                       |  3 +--
>  include/hw/riscv/microchip_pfsoc.h          |  4 +---
>  include/hw/riscv/shakti_c.h                 |  8 ++------
>  include/hw/riscv/sifive_e.h                 |  4 +---
>  include/hw/riscv/sifive_u.h                 |  4 +---
>  include/hw/sd/cadence_sdhci.h               |  4 +---
>  include/hw/ssi/sifive_spi.h                 |  4 +---
>  include/hw/timer/npcm7xx_timer.h            |  3 +--
>  include/hw/tricore/tricore_testdevice.h     |  4 +---
>  include/hw/usb/hcd-dwc3.h                   |  4 +---
>  include/hw/usb/xlnx-versal-usb2-ctrl-regs.h |  4 +---
>  hw/m68k/mcf5206.c                           |  4 +---
>  hw/mips/boston.c                            |  4 +---
>  hw/misc/npcm7xx_clk.c                       |  9 +++------
>  hw/net/can/ctucan_pci.c                     |  4 +---
>  hw/s390x/vhost-user-fs-ccw.c                |  4 +---
>  hw/sensor/adm1272.c                         |  4 +---
>  hw/sensor/max34451.c                        |  4 +---
>  47 files changed, 56 insertions(+), 154 deletions(-)

Acked-by: Cornelia Huck <[email protected]>


Reply via email to