We can use the standard DT "reg" property instead of defining our
own "domain-id"
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Jacky Bai <ping.bai@nxp.com>
if (ret)
goto exit;
- ret = of_property_read_u32(child_node, "domain-id",
+ ret = of_property_read_u32(child_node, "reg",
&child_domain->gpc_domain_id);
if (ret)
goto exit;
return -EINVAL;
}
- ret = of_property_read_u32(np, "domain-id", &imx_pm_domain->gpc_domain_id);
+ ret = of_property_read_u32(np, "reg", &imx_pm_domain->gpc_domain_id);
if (ret) {
dev_err(dev, "get domain id failed\n");
return -EINVAL;