qemu/hw/nvram
Peter Maydell e3d0814368 hw: Use device_class_set_legacy_reset() instead of opencoding
Use device_class_set_legacy_reset() instead of opencoding an
assignment to DeviceClass::reset. This change was produced
with:
 spatch --macro-file scripts/cocci-macro-file.h \
    --sp-file scripts/coccinelle/device-reset.cocci \
    --keep-comments --smpl-spacing --in-place --dir hw

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240830145812.1967042-8-peter.maydell@linaro.org
2024-09-13 15:31:44 +01:00
..
bcm2835_otp.c hw/nvram: Add BCM2835 OTP device 2024-07-01 12:48:55 +01:00
chrp_nvram.c nvram: Exit QEMU if NVRAM cannot contain all -prom-env data 2020-08-14 13:34:31 +10:00
ds1225y.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
eeprom93xx.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
eeprom_at24c.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
fw_cfg-acpi.c acpi: Clean up includes 2024-01-30 21:20:20 +03:00
fw_cfg-interface.c hw/nvram: Always register FW_CFG_DATA_GENERATOR_INTERFACE 2020-10-12 11:50:20 -04:00
fw_cfg.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
Kconfig hw/nvram: Introduce Xilinx battery-backed ram 2021-09-30 13:42:10 +01:00
mac_nvram.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
meson.build hw/nvram: Add BCM2835 OTP device 2024-07-01 12:48:55 +01:00
npcm7xx_otp.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
nrf51_nvm.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
spapr_nvram.c hw/nvram: Constify VMState 2023-12-30 07:38:06 +11:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
xlnx-bbram.c hw/nvram/xlnx-bbram: Call register_finalize_block 2024-09-05 13:12:36 +01:00
xlnx-efuse-crc.c hw/nvram: Introduce Xilinx eFuse QOM 2021-09-30 13:42:09 +01:00
xlnx-efuse.c hw/nvram/xlnx-efuse: Free XlnxEFuse::ro_bits[] array on finalize() 2023-11-27 15:27:43 +00:00
xlnx-versal-efuse-cache.c hw/nvram: Introduce Xilinx Versal eFuse device 2021-09-30 13:42:10 +01:00
xlnx-versal-efuse-ctrl.c hm/nvram/xlnx-versal-efuse-ctrl: Call register_finalize_block 2024-09-05 13:12:37 +01:00
xlnx-zynqmp-efuse.c hw/nvram/xlnx-zynqmp-efuse: Call register_finalize_block 2024-09-05 13:12:36 +01:00