]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteabd1dcabfc65081876a82e2794ed734ff98916e
treecfcb050c71b5c035d5681ce071f27bc9d7ef9117
parentff30a067f55d7ebf3c1c6c6d1ebb3724441553e6
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