From 6887d9e5682886b5d9fe81217ff2f1410724cdb9 Mon Sep 17 00:00:00 2001 From: Pankaj Dubey Date: Sat, 19 Jul 2014 03:48:35 +0900 Subject: [PATCH] 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 Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa Signed-off-by: Kukjin Kim --- Reading git-format-patch failed