Lines Matching refs:dev2
589 struct device *dev2; in acpi_lpss_link_consumer() local
591 dev2 = acpi_lpss_find_device(link->consumer_hid, link->consumer_uid); in acpi_lpss_link_consumer()
592 if (!dev2) in acpi_lpss_link_consumer()
596 || acpi_lpss_dep(ACPI_COMPANION(dev2), ACPI_HANDLE(dev1))) in acpi_lpss_link_consumer()
597 device_link_add(dev2, dev1, link->flags); in acpi_lpss_link_consumer()
599 put_device(dev2); in acpi_lpss_link_consumer()
605 struct device *dev2; in acpi_lpss_link_supplier() local
607 dev2 = acpi_lpss_find_device(link->supplier_hid, link->supplier_uid); in acpi_lpss_link_supplier()
608 if (!dev2) in acpi_lpss_link_supplier()
612 || acpi_lpss_dep(ACPI_COMPANION(dev1), ACPI_HANDLE(dev2))) in acpi_lpss_link_supplier()
613 device_link_add(dev1, dev2, link->flags); in acpi_lpss_link_supplier()
615 put_device(dev2); in acpi_lpss_link_supplier()