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