mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 02:56:49 +07:00
c58ccf2b6d
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> |
||
---|---|---|
.. | ||
card.h | ||
core.h | ||
host.h | ||
mmc.h | ||
pm.h | ||
sd.h | ||
sdhci-pci-data.h | ||
sdio_func.h | ||
sdio_ids.h | ||
sdio.h | ||
sh_mmcif.h | ||
slot-gpio.h |