aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2019-02-03 09:27:00 +0100
committerUlf Hansson <[email protected]>2019-02-25 08:40:58 +0100
commitc58ccf2b6de7d52994f9bb93227dfabf8077de24 (patch)
treedde415f6e1e29f1d00045b9877506d0fb4d3af4d /scripts/gdb/linux/utils.py
parente5c1e63c932379b89d7404d4e5fde1bf8abff951 (diff)
mmc: bcm2835: Drop pointer to mmc_host from bcm2835_host
The BCM2835 MMC host driver uses a pointer to get from the private bcm2835_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: Lukas Wunner <[email protected]> Cc: Frank Pavlic <[email protected]> Cc: Alexander Graf <[email protected]> Reviewed-by: Alexander Graf <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions