]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thunderbolt: Refactor tb_acpi_add_link()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jan 2023 19:24:04 +0000 (21:24 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 4 Jan 2023 07:44:22 +0000 (09:44 +0200)
commit953ff25fc9fb831a675259ce1e738c94fb6202b6
tree50a8a988a21e9ef2e8abefed370e4026f3501cca
parentd31137619776f9c173a46a79bc7733a2b106061f
thunderbolt: Refactor tb_acpi_add_link()

Convert while loop into do-while with only a single call to
acpi_get_first_physical_node(). No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/acpi.c