aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2022-06-20 20:32:26 +0200
committerRafael J. Wysocki <[email protected]>2022-06-20 20:32:26 +0200
commita73a204b44586c07876f18e329be3fcb713af29b (patch)
treed016b48aa47268e98f1959a202e84864ce7f9e7e /scripts/gdb/vmlinux-gdb.py
parent2f6fe93fede802acfe010752db461ccd34745745 (diff)
thunderbolt: ACPI: Replace tb_acpi_find_port() with acpi_find_child_by_adr()
Use acpi_find_child_by_adr() to find the child matching a given bus address instead of tb_acpi_find_port() that walks the list of children of an ACPI device directly for this purpose and drop the latter. Apart from simplifying the code, this will help to eliminate the children list head from struct acpi_device as it is redundant and it is used in questionable ways in some places (in particular, locking is needed for walking the list pointed to it safely, but it is often missing). Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions