qemu-e2k/hw/isa
Philippe Mathieu-Daudé a30c34d2ab hw/isa: Use the QOM DEVICE() macro to access DeviceState.qdev
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>
2019-06-06 11:33:18 +02:00
..
apm.c
i82378.c hw/ppc/40p: Move the MC146818 RTC to the board where it belongs 2019-05-29 11:39:44 +10:00
isa-bus.c
isa-superio.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
Kconfig hw/isa/Kconfig: PIIX4 southbridge requires USB UHCI 2019-03-20 11:44:13 +01:00
lpc_ich9.c hw/isa: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:33:18 +02:00
Makefile.objs configs: Add a CONFIG_SMC37C669 switch for the "smc37c669-superio" device 2018-10-24 07:33:44 +01:00
pc87312.c
piix4.c
smc37c669-superio.c hw/isa/smc37c669: Change the parallel I/O base to 378H 2018-06-16 19:46:54 -10:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
vt82c686.c hw/isa: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:33:18 +02:00