0ce5e0201f
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> |
||
---|---|---|
.. | ||
ac97.c | ||
adlib.c | ||
cs4231.c | ||
cs4231a.c | ||
es1370.c | ||
fmopl.c | ||
fmopl.h | ||
gus.c | ||
gusemu_hal.c | ||
gusemu_mixer.c | ||
gusemu.h | ||
gustate.h | ||
hda-codec-common.h | ||
hda-codec.c | ||
intel-hda-defs.h | ||
intel-hda.c | ||
intel-hda.h | ||
Kconfig | ||
lm4549.c | ||
lm4549.h | ||
Makefile.objs | ||
marvell_88w8618.c | ||
milkymist-ac97.c | ||
pcspk.c | ||
pl041.c | ||
pl041.h | ||
pl041.hx | ||
sb16.c | ||
soundhw.c | ||
trace-events | ||
wm8750.c |