diff options
author | 2019-05-02 11:28:16 +0530 | |
---|---|---|
committer | 2019-05-06 12:33:03 +0200 | |
commit | c081e7fdbf310c25d9e90ef161e905c2ef0a9dc1 (patch) | |
tree | a04f3465144bdf3808ce8114db74b273c6cb05b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: mtk-sd: select REGULATOR (diff) | |
download | linux-rng-c081e7fdbf310c25d9e90ef161e905c2ef0a9dc1.tar.xz linux-rng-c081e7fdbf310c25d9e90ef161e905c2ef0a9dc1.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions