]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / PM: Fix device PM kernedoc comments and #ifdefs
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:39:22 +0000 (01:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:39:22 +0000 (01:39 +0200)
commit746bbe48866a57d83600eb1d899c4455ea69d2f6
tree1b7e9f506b9ead3b954b780283f7d3f65237ad3c
parentf291e677121aad98ad895c831b9f49fa8ccba14a
ACPI / PM: Fix device PM kernedoc comments and #ifdefs

The kerneldoc comments for acpi_pm_device_sleep_state(),
acpi_pm_device_run_wake(), and acpi_pm_device_sleep_wake() are
outdated or otherwise inaccurate and/or don't follow the common
kerneldoc patterns, so fix them.

Additionally, notice that acpi_pm_device_run_wake() should be under
CONFIG_PM_RUNTIME rather than under CONFIG_PM_SLEEP, so fix that too.

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