ACPI: glue: Rearrange acpi_device_notify()