Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / arch / arm / mach-exynos / platsmp.c
index 511b81ac2a1811716d40425bedbe40af9a58fc28..ebd135bb0995611517c1bce6d3b70deeeee37de4 100644 (file)
@@ -128,8 +128,7 @@ void exynos_cpu_power_down(int cpu)
 {
        u32 core_conf;
 
-       if (cpu == 0 && (of_machine_is_compatible("samsung,exynos5420") ||
-               of_machine_is_compatible("samsung,exynos5800"))) {
+       if (cpu == 0 && (soc_is_exynos5420() || soc_is_exynos5800())) {
                /*
                 * Bypass power down for CPU0 during suspend. Check for
                 * the SYS_PWR_REG value to decide if we are suspending