ARM: EXYNOS: Fix abuse of CONFIG_PM
authorTomasz Figa <t.figa@samsung.com>
Mon, 17 Mar 2014 22:28:10 +0000 (07:28 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:09:26 +0000 (04:09 +0900)
commitdbc5ca163dc46153a8e5249da627af571ae47c10
tree267bb51c2451d61fa59effe7263c56be5f3e310a
parentf682426630c620a2b8ae488a4f0d85ec6c272d66
ARM: EXYNOS: Fix abuse of CONFIG_PM

CONFIG_PM means that at least one of CONFIG_PM_SLEEP and
CONFIG_PM_RUNTIME is enabled, while multiple entries in
mach-exynos/Kconfig abused it to enable sleep- and runtime-specific
functionality.

This patch fixes this abuse by replacing dependencies on CONFIG_PM with
appropriate dependencies on either CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME,
whichever is appropriate.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/Kconfig