[PATCH v2 17/30] acpi: Correct reset handling in acpi_device_add_power_res()