linux-stable/include/linux/mmc
Lukas Wunner c58ccf2b6d mmc: bcm2835: Drop pointer to mmc_host from bcm2835_host
The BCM2835 MMC host driver uses a pointer to get from the private
bcm2835_host structure to the generic mmc_host structure.  However the
latter is always immediately preceding the former in memory, so compute
its address with a subtraction (which is cheaper than a dereference) and
drop the superfluous pointer.

No functional change intended.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Cc: Alexander Graf <agraf@suse.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2019-02-25 08:40:58 +01:00
..
card.h mmc: block: handle complete_work on separate workqueue 2019-02-08 12:24:17 +01:00
core.h mmc: core: Export a function mmc_sw_reset() to allow soft reset of cards 2018-05-08 09:33:42 +02:00
host.h mmc: bcm2835: Drop pointer to mmc_host from bcm2835_host 2019-02-25 08:40:58 +01:00
mmc.h mmc: core: Adjust and reuse the macro of R1_STATUS(x) 2018-07-16 11:21:45 +02:00
pm.h
sd.h
sdhci-pci-data.h
sdio.h
sdio_func.h
sdio_ids.h brcmfmac: add support for CYW43012 SDIO chipset 2018-12-13 16:57:17 +02:00
sh_mmcif.h
slot-gpio.h mmc: slot-gpio: Delete legacy GPIO handling 2018-12-17 08:26:24 +01:00