]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: EXYNOS: Refactor the pm code to use DT based lookup
authorVikas Sajjan <vikas.sajjan@samsung.com>
Wed, 24 Sep 2014 07:45:14 +0000 (16:45 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 20 Oct 2014 15:06:35 +0000 (00:06 +0900)
commit066da1ae52c30ae7e2792dbbb0d6bcbba493245e
treec707f27bb427b77e924409ff235857e70f86a95b
parent32ed35ff22ec03d8a935dfe8b90c599da4b4cb02
ARM: EXYNOS: Refactor the pm code to use DT based lookup

Refactoring the pm.c to avoid using "soc_is_exynos" checks,
instead use the DT based lookup.

While at it, consolidate the common code across SoCs
and create static helper functions.

Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm.c
arch/arm/mach-exynos/regs-pmu.h