summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/ctl.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-01-02 22:24:04 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-01-04 10:44:22 +0300
commit953ff25fc9fb831a675259ce1e738c94fb6202b6 (patch)
tree50a8a988a21e9ef2e8abefed370e4026f3501cca /drivers/thunderbolt/ctl.c
parentd31137619776f9c173a46a79bc7733a2b106061f (diff)
downloadlinux-953ff25fc9fb831a675259ce1e738c94fb6202b6.tar.xz
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>
Diffstat (limited to 'drivers/thunderbolt/ctl.c')
0 files changed, 0 insertions, 0 deletions