mirror of https://github.com/xemu-project/xemu.git
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
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| aspeed_smc.c | ||
| bcm2835_spi.c | ||
| ibex_spi_host.c | ||
| imx_spi.c | ||
| meson.build | ||
| mss-spi.c | ||
| npcm7xx_fiu.c | ||
| npcm_pspi.c | ||
| omap_spi.c | ||
| pl022.c | ||
| pnv_spi.c | ||
| sifive_spi.c | ||
| ssi.c | ||
| stm32f2xx_spi.c | ||
| trace-events | ||
| trace.h | ||
| xilinx_spi.c | ||
| xilinx_spips.c | ||
| xlnx-versal-ospi.c | ||