Re: [PATCH 2/4] thermal: bcm2835: Stop using printk format %pCr

From: Stefan Wahren
Date: Fri Jun 01 2018 - 05:36:48 EST




Am 01.06.2018 um 11:28 schrieb Geert Uytterhoeven:
Printk format "%pCr" will be removed soon, as clk_get_rate() must not be
called in atomic context.

Replace it by printing the variable that already holds the clock rate.
Note that calling clk_get_rate() is safe here, as the code runs in task
context.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Acked-by: Stefan Wahren <stefan.wahren@xxxxxxxx>

Thanks