qemu/hw/sd
Philippe Mathieu-Daudé 6afa968a93 hw/sd: Use the QOM BUS() macro to access BusState.qbus
Rather than looking inside the definition of a BusState with "s->bus.qbus",
use the QOM prefered style: "BUS(&s->bus)".

This patch was generated using the following Coccinelle script:

    // Use BUS() macros to access BusState.qbus
    @use_bus_macro_to_access_qbus@
    expression obj;
    identifier bus;
    @@
    -&obj->bus.qbus
    +BUS(&obj->bus)

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-6-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-06-06 11:38:14 +02:00
..
bcm2835_sdhost.c hw/sd/bcm2835_sdhost: Fix PIO mode writes 2018-07-23 15:21:26 +01:00
core.c sd: Don't trace SDRequest crc field 2018-06-29 15:11:19 +01:00
Kconfig hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
Makefile.objs hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
milkymist-memcard.c hw/sd: Use the QOM BUS() macro to access BusState.qbus 2019-06-06 11:38:14 +02:00
omap_mmc.c hw/sd/omap_mmc: Split 'pseudo-reset' from 'power-on-reset' 2018-07-09 14:51:34 +01:00
pl181.c sdcard: Use the ldst API 2018-06-29 15:11:20 +01:00
pxa2xx_mmci.c hw/sd/pxa2xx_mmci: add read/write() trace events 2018-01-11 13:25:39 +00:00
sd.c hw: sd: set category of the sd memory card 2019-01-30 10:24:20 +01:00
sdhci-internal.h hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
sdhci-pci.c hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
sdhci.c hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
sdmmc-internal.c sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
sdmmc-internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
ssi-sd.c hw/sd: Use the QOM BUS() macro to access BusState.qbus 2019-06-06 11:38:14 +02:00
trace-events trace-events: Delete unused trace points 2019-03-22 16:18:07 +00:00