summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pmic
diff options
context:
space:
mode:
authorKamlesh Gurudasani2019-05-07 21:52:29 +0200
committerUlf Hansson2019-06-10 17:09:56 +0200
commitfdc4e755f6c516e526dd9396b6eb05712c44fb65 (patch)
treeb5f7cf11387f3ced0278e73ae4a3a98a5da7dd59 /drivers/acpi/pmic
parentLinux 5.2-rc4 (diff)
downloadkernel-qcow2-linux-fdc4e755f6c516e526dd9396b6eb05712c44fb65.tar.gz
kernel-qcow2-linux-fdc4e755f6c516e526dd9396b6eb05712c44fb65.tar.xz
kernel-qcow2-linux-fdc4e755f6c516e526dd9396b6eb05712c44fb65.zip
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/acpi/pmic')
0 files changed, 0 insertions, 0 deletions