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