drivers/intel/usb4/retimer: Use usb4_retimer_scope replace dev path
commitef8a1390b2fc01ad179cb798d4a207544efc7f90
authorEric Lai <ericr_lai@compal.corp-partner.google.com>
Sat, 22 Jan 2022 06:06:54 +0000 (22 14:06 +0800)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 27 Jan 2022 22:05:52 +0000 (27 22:05 +0000)
tree4e89eed3afae87ca28419b546efae753e3cf84d9
parent5d48e783411caf5f9bf269b36586e129e30e511b
drivers/intel/usb4/retimer: Use usb4_retimer_scope replace dev path

Without acpi name, acpi_device_path will return NULL.
<NULL>: Intel USB4 Retimer at GENERIC: 0.0
Replace with usb4_retimer_scope for the identify.

BUG=b:215742472
TEST=show below meaasge in coreboot log
\_SB.PCI0.TMD0.HR : Intel USB4 Retimer at GENERIC: 0.0
\_SB.PCI0.TMD1.HR : Intel USB4 Retimer at GENERIC: 0.0

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Idfa8b204894409b11936e5f221c218daa206cc02
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61315
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/drivers/intel/usb4/retimer/retimer.c