ACPI: glue: Rearrange acpi_device_notify()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jul 2021 17:23:32 +0000 (19:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Jul 2021 17:17:04 +0000 (19:17 +0200)
commit42878a9f0fe0b6bef7fb24d98e161c1216a36926
tree8de81a427267b59d2a114673b0f8c01724f3b2bf
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
ACPI: glue: Rearrange acpi_device_notify()

Make the code flow in acpi_device_notify() more straightforward and
make it use dev_dbg() and acpi_handle_debug() for printing debug
messages.

The only expected functional impact of this change is the content of
the debug messages printed by acpi_device_notify().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/acpi/glue.c