Lines Matching full:dev2
570 struct device *dev2; in acpi_lpss_link_consumer() local
572 dev2 = acpi_lpss_find_device(link->consumer_hid, link->consumer_uid); in acpi_lpss_link_consumer()
573 if (!dev2) in acpi_lpss_link_consumer()
577 || acpi_device_dep(ACPI_HANDLE(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer()
578 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer()
580 put_device(dev2); in acpi_lpss_link_consumer()
586 struct device *dev2; in acpi_lpss_link_supplier() local
588 dev2 = acpi_lpss_find_device(link->supplier_hid, link->supplier_uid); in acpi_lpss_link_supplier()
589 if (!dev2) in acpi_lpss_link_supplier()
593 || acpi_device_dep(ACPI_HANDLE(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier()
594 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier()
596 put_device(dev2); in acpi_lpss_link_supplier()