ACPI / PM: Fix device PM kernedoc comments and #ifdefs
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Oct 2012 11:40:04 +0000 (13:40 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:15:16 +0000 (00:15 +0100)
commitbdda27fb98463244f056852f800bbce7db67dc4a
tree2f9199944d42fa6f6b6aa2604a961ec4ac168147
parentdea553e3fc63c5e53a3f8741f0c9f840660cf06e
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