PM / sleep: Set pm_generic functions to NULL for !CONFIG_PM_SLEEP
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Feb 2014 12:09:21 +0000 (13:09 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Mar 2014 00:02:53 +0000 (01:02 +0100)
Previously only a subset of the functions were defined and set to NULL
while !CONFIG_PM_SLEEP. Let's make them all available so they can be
used no matter of CONFIG_PM_SLEEP or not.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm.h

Simple merge