ACPI: PM: Always print final debug message in acpi_device_set_power()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 Apr 2022 12:58:42 +0000 (14:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 21 Apr 2022 18:18:43 +0000 (20:18 +0200)
commit6dd4a29d26200d303d354ee8fc806113b5fcc882
treecfcb050c71b5c035d5681ce071f27bc9d7ef9117
parentf4f3548dc8d53d683770b058fdafa01fd7c07669
ACPI: PM: Always print final debug message in acpi_device_set_power()

acpi_device_set_power() prints debug messages regarding its outcome
(whether or not the power state has been changed and how) in all
cases except when the device whose power state is being changed to D0
is in that power state already.

Make acpi_device_set_power() print a final debug message in that case
too and while at it, fix the indentation of the "end" label in this
function.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_pm.c