ARM: exynos: Fix boot with CONFIG_SUSPEND disabled
[platform/kernel/linux-exynos.git] / arch / arm / mach-exynos / suspend.c
index 49bb921..ae5a67d 100644 (file)
@@ -208,21 +208,11 @@ static int __init exynos_pmu_irq_init(struct device_node *node,
                return -ENXIO;
        }
 
-       pmu_base_addr = of_iomap(node, 0);
-
-       if (!pmu_base_addr) {
-               pr_err("%pOF: failed to find exynos pmu register\n", node);
-               return -ENOMEM;
-       }
-
        domain = irq_domain_add_hierarchy(parent_domain, 0, 0,
                                          node, &exynos_pmu_domain_ops,
                                          NULL);
-       if (!domain) {
-               iounmap(pmu_base_addr);
-               pmu_base_addr = NULL;
+       if (!domain)
                return -ENOMEM;
-       }
 
        /*
         * Clear the OF_POPULATED flag set in of_irq_init so that