qemu/include/hw/arm
Eduardo Habkost 30b5707c26 qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros
One of the goals of having less boilerplate on QOM declarations
is to avoid human error.  Requiring an extra argument that is
never used is an opportunity for mistakes.

Remove the unused argument from OBJECT_DECLARE_TYPE and
OBJECT_DECLARE_SIMPLE_TYPE.

Coccinelle patch used to convert all users of the macros:

  @@
  declarer name OBJECT_DECLARE_TYPE;
  identifier InstanceType, ClassType, lowercase, UPPERCASE;
  @@
   OBJECT_DECLARE_TYPE(InstanceType, ClassType,
  -                    lowercase,
                       UPPERCASE);

  @@
  declarer name OBJECT_DECLARE_SIMPLE_TYPE;
  identifier InstanceType, lowercase, UPPERCASE;
  @@
   OBJECT_DECLARE_SIMPLE_TYPE(InstanceType,
  -                    lowercase,
                       UPPERCASE);

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Paul Durrant <paul@xen.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200916182519.415636-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-18 14:12:32 -04:00
..
allwinner-a10.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
armsse.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
armv7m.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_soc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_peripherals.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2836.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
boot.h hw/arm/boot: Set NSACR.{CP11, CP10} in dummy SMC setup routine 2019-11-11 13:44:16 +00:00
digic.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
exynos4210.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
fdt.h
fsl-imx6.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
fsl-imx6ul.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
fsl-imx7.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
fsl-imx25.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
fsl-imx31.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
linux-boot-if.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
msf2-soc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
npcm7xx.h hw/arm/npcm7xx: add board setup stub for CPU and UART clocks 2020-09-14 14:24:59 +01:00
nrf51_soc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
nrf51.h hw/arm/nrf51: Add NRF51_PERIPHERAL_SIZE definition 2020-05-11 11:05:11 +01:00
omap.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
primecell.h
pxa.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
raspi_platform.h hw/arm/bcm2835_peripherals: Use the thermal sensor block 2019-10-25 13:09:27 +01:00
sharpsl.h hw/gpio/zaurus.c: Use LOG_GUEST_ERROR for bad guest register accesses 2020-07-03 16:59:45 +01:00
smmu-common.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
smmuv3.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
soc_dma.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
stm32f205_soc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f405_soc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
sysbus-fdt.h
virt.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
xlnx-versal.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
xlnx-zynqmp.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00