cpufreq: exynos: Convert exynos-cpufreq to platform driver
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 28 Nov 2013 12:42:42 +0000 (13:42 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 13:29:24 +0000 (14:29 +0100)
commitd568b6f71df1c8bd2fc2b051cf03f613a65ffad6
tree44b3323150625cadba361f21ccf7e6c1e2c4dda6
parentd3916691c90dfc9f08328d5cef8181e9ea508c55
cpufreq: exynos: Convert exynos-cpufreq to platform driver

To make the driver multiplatform-friendly, unconditional initialization
in an initcall is replaced with a platform driver probed only if
respective platform device is registered.

Tested at: Exynos4210 (TRATS) and Exynos4412 (TRATS2)

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sachin Kamat <sachin.kamat@linaro.org>
Tested-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/mach-exynos4-dt.c
arch/arm/mach-exynos/mach-exynos5-dt.c
drivers/cpufreq/exynos-cpufreq.c