ARM: EXYNOS: register power domain driver from core_initcall
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 3 Jun 2015 23:09:27 +0000 (08:09 +0900)
committerKukjin Kim <kgene@kernel.org>
Fri, 5 Jun 2015 17:18:03 +0000 (02:18 +0900)
commit2be2a3ff42a52e926cbd1cc1d376a161a9a73667
tree6a8095d6895d5fd6b03f7252fb733e736a6b0b9a
parentc4241a582d22a745ce96aae98127c0e6f0f13db3
ARM: EXYNOS: register power domain driver from core_initcall

SYSMMU devices are registered very early in arch_initcall, so ensure
that they can get access to power domains by registering power domain
driver from earlier initcall. This change requires dropping usage of
the platform device associated with each power domain and replacing
clock calls with respective of_clk_* equivalents.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/pm_domains.c