Re: [PATCH 1/4] clk: renesas: cpg-mssr: Stop using printk format %pCr

From: Stephen Boyd
Date: Fri Jun 01 2018 - 12:37:41 EST


Quoting Geert Uytterhoeven (2018-06-01 02:28:19)
> Printk format "%pCr" will be removed soon, as clk_get_rate() must not be
> called in atomic context.
>
> Replace it by open-coding the operation. This is safe here, as the code
> runs in task context.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxx>