summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorCosmin Tanislav <demonsingur@gmail.com>2025-05-07 15:19:09 +0300
committerWolfram Sang <wsa+renesas@sang-engineering.com>2025-05-22 11:07:04 +0200
commit5988589eb38124f6eb311ada0f92a0b68625659d (patch)
tree769ee02d9dcf173b235e81e4294c631ec6e91aab /scripts/gdb/linux/utils.py
parent42a70dc49edfc230fe79e3e8141b5b8d537e7a91 (diff)
i2c: atr: split up i2c_atr_get_mapping_by_addr()
The i2c_atr_get_mapping_by_addr() function handles three separate usecases: finding an existing mapping, creating a new mapping, or replacing an existing mapping if a new mapping cannot be created because there aren't enough aliases available. Split up the function into three different functions handling its individual usecases to prepare for better usage of each one. Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions