PM: Drop CONFIG_PM_RUNTIME from the driver core
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Nov 2014 21:38:05 +0000 (22:38 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Dec 2014 23:46:58 +0000 (00:46 +0100)
commitd30d819dc83107812d9b2876e5e7194e511ed6af
tree0c889e71575dca8d9caa26c89cd9ec741632c4fd
parentef9cc993cd2e3524d86e86e9ad510e8f34b9c078
PM: Drop CONFIG_PM_RUNTIME from the driver core

After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so quite a few
depend on CONFIG_PM or even may be dropped entirely in some cases.

Replace CONFIG_PM_RUNTIME with CONFIG_PM in the PM core code.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
12 files changed:
drivers/base/power/clock_ops.c
drivers/base/power/domain.c
drivers/base/power/domain_governor.c
drivers/base/power/power.h
drivers/base/power/qos.c
drivers/base/power/runtime.c
drivers/base/power/sysfs.c
include/linux/pm.h
include/linux/pm_domain.h
include/linux/pm_qos.h
include/linux/pm_runtime.h
kernel/power/Kconfig