[PATCH v3 02/35] acpi: Add a function to get a device path and scope