summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
authorKamlesh Gurudasani <kamlesh.gurudasani@gmail.com>2019-05-08 01:22:29 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2019-06-10 17:09:56 +0200
commitfdc4e755f6c516e526dd9396b6eb05712c44fb65 (patch)
treeb5f7cf11387f3ced0278e73ae4a3a98a5da7dd59 /drivers/mmc/host/tmio_mmc.c
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008 (diff)
mmc: android-goldfish: Drop pointer to mmc_host from goldfish_mmc_host
The driver for android-goldfish uses a pointer to get from the private goldfish_mmc_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: Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
0 files changed, 0 insertions, 0 deletions