On Thu, Feb 01, 2018 at 06:54:12PM +0100, Lucas Stach wrote:
> + for (i = 0; i < IMX8MQ_CLK_END; i++)
> + if (IS_ERR(clks[i]))
> + pr_err("i.MX8mq clk %u register failed with %ld\n",
> + i, PTR_ERR(clks[i]));
We have a helper imx_check_clocks() for this.
Shawn