ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine
authorPankaj Dubey <pankaj.dubey@samsung.com>
Fri, 18 Jul 2014 18:48:35 +0000 (03:48 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 22 Jul 2014 23:20:38 +0000 (08:20 +0900)
commit6887d9e5682886b5d9fe81217ff2f1410724cdb9
tree5ad390a066ee8eab0ade3dc76d375eaaebf9f8ed
parent2e94ac42898f84d76e3c21dd91bcd1c51c920dff
ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

As exynos_cpuidle_init() and exynos_cpufreq_init() functions have just
one line of code for registering platform devices. So we can move them
to exynos_dt_machine_init() and remove exynos_cpuidle_init() and
exynos_cpufreq_init(). This will help in reducing lines of code in
exynos.c, making it more clean.

Suggested-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/exynos.c
This page took 0.039254 seconds and 5 git commands to generate.