> + plat->axi_icc_path = devm_of_icc_get(&pdev->dev, "axi"); > + if (IS_ERR(plat->axi_icc_path)) { > + ret = (void *)plat->axi_icc_path; Casting to a void * seems odd. ERR_PTR()? Andrew
> + plat->axi_icc_path = devm_of_icc_get(&pdev->dev, "axi"); > + if (IS_ERR(plat->axi_icc_path)) { > + ret = (void *)plat->axi_icc_path; Casting to a void * seems odd. ERR_PTR()? Andrew