Re: [PATCH v3] cpufreq: exynos: Convert exynos-cpufreq to platform driver

Viresh Kumar
2013-12-16T09:13:23Z

On 28 November 2013 18:12, Lukasz Majewski <l.majewski@samsung.com> wrote:
> 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>
>
> ---
> Changes for v3:
> - Rename exynos_cpufreq_init() to exynos_cpufreq_probe()
>
> Changes for v2:
> - Proper definition of exynos_cpufreq_init() function to squash warnings
>
> arch/arm/mach-exynos/common.c | 5 +++++
> arch/arm/mach-exynos/common.h | 1 +
> arch/arm/mach-exynos/mach-exynos4-dt.c | 1 +
> arch/arm/mach-exynos/mach-exynos5-dt.c | 1 +
> drivers/cpufreq/exynos-cpufreq.c | 13 +++++++++++--
> 5 files changed, 19 insertions(+), 2 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>