qemu-e2k/hw/audio
Philippe Mathieu-Daudé 0ce5e0201f hw/audio/ac97: 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
(with a bit of manual fix-up, removing an extra space to please
checkpatch.pl):

    // 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: Peter Maydell <peter.maydell@linaro.org>.
Message-Id: <20190528164020.32250-7-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-06-06 11:36:43 +02:00
..
ac97.c hw/audio/ac97: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:36:43 +02:00
adlib.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
cs4231.c
cs4231a.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
es1370.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
fmopl.c hw: use "qemu/osdep.h" as first #include in source files 2017-12-18 17:07:02 +03:00
fmopl.h fmops: fix off-by-one in AR_TABLE and DR_TABLE array size 2018-11-26 11:15:32 +01:00
gus.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
gusemu_hal.c fix "Missing break in switch" coverity reports 2018-08-23 13:32:50 +02:00
gusemu_mixer.c audio: GUSsample is int16_t 2017-05-04 09:16:05 +02:00
gusemu.h audio: GUSsample is int16_t 2017-05-04 09:16:05 +02:00
gustate.h
hda-codec-common.h
hda-codec.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
intel-hda-defs.h
intel-hda.c audio/hda: fix guest triggerable assert 2018-11-27 07:47:57 +01:00
intel-hda.h
Kconfig i2c: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
lm4549.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
lm4549.h
Makefile.objs audio: Move arch_init audio code to hw/audio/soundhw.c 2017-05-19 10:48:53 +02:00
marvell_88w8618.c hw/audio/marvell: Don't include unnecessary i2c.h header file 2019-01-09 11:18:06 +01:00
milkymist-ac97.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
pcspk.c Revert "audio: fix pc speaker init" 2019-04-01 08:53:40 +02:00
pl041.c
pl041.h
pl041.hx
sb16.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
soundhw.c audio: Rename hw/audio/audio.h to hw/audio/soundhw.h 2017-05-19 10:48:54 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wm8750.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00