On Wed, May 29, 2019 at 12:29:39PM +0200, Simon Horman wrote: > On Mon, May 27, 2019 at 02:35:14PM +0200, Geert Uytterhoeven wrote: > > pm_clk_create() and pm_clk_add_clk() can fail only when running out of > > memory. Hence there is no need to print error messages on failure, as > > the memory allocation core already takes care of that. > > > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > > Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> On a closer look, I see that pm_clk_add_clk() can return errors for other reasons. Can they never occur in this use-case?