mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 07:43:35 +08:00
a30c34d2ab
Rather than looking inside the definition of a DeviceState with "s->qdev", use the QOM prefered style: "DEVICE(s)". This patch was generated using the following Coccinelle script: // Use DEVICE() macros to access DeviceState.qdev @use_device_macro_to_access_qdev@ expression obj; identifier dev; @@ -&obj->dev.qdev +DEVICE(obj) Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20190528164020.32250-8-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu> |
||
---|---|---|
.. | ||
apm.c | ||
i82378.c | ||
isa-bus.c | ||
isa-superio.c | ||
Kconfig | ||
lpc_ich9.c | ||
Makefile.objs | ||
pc87312.c | ||
piix4.c | ||
smc37c669-superio.c | ||
trace-events | ||
vt82c686.c |