summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKamlesh Gurudasani <kamlesh.gurudasani@gmail.com>2019-05-02 11:28:16 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2019-05-06 12:33:03 +0200
commitc081e7fdbf310c25d9e90ef161e905c2ef0a9dc1 (patch)
treea04f3465144bdf3808ce8114db74b273c6cb05b5 /Documentation
parent26c2b19e9daf8e68a9703dfec3bd6fed7330c158 (diff)
mmc: alcor: Drop pointer to mmc_host from alcor_sdmmc_host
The driver for Alcor Micro AU6601 and AU6621 controllers uses a pointer to get from the private alcor_sdmmc_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 'Documentation')
0 files changed, 0 insertions, 0 deletions