diff options
author | Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com> | 2019-05-02 08:58:16 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-05-06 13:33:03 +0300 |
commit | c081e7fdbf310c25d9e90ef161e905c2ef0a9dc1 (patch) | |
tree | a04f3465144bdf3808ce8114db74b273c6cb05b5 /Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | |
parent | 26c2b19e9daf8e68a9703dfec3bd6fed7330c158 (diff) | |
download | linux-c081e7fdbf310c25d9e90ef161e905c2ef0a9dc1.tar.xz |
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/devicetree/bindings/mmc/fsl-esdhc.txt')
0 files changed, 0 insertions, 0 deletions