diff options
author | Geert Uytterhoeven <[email protected]> | 2018-06-01 11:28:20 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2018-06-05 09:43:38 +0200 |
commit | bd2a07f71a1e2e198f8a30cb551d9defe422d83d (patch) | |
tree | 68ed8a8043e9a6d1c61291e3a65c7d43ed09d3b3 /lib/jedec_ddr_data.c | |
parent | ef4b0be62641d296cf4c0ad8f75ab83ab066ed51 (diff) |
thermal: bcm2835: Stop using printk format %pCr
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.
Link: http://lkml.kernel.org/r/[email protected]
To: Jia-Ju Bai <[email protected]>
To: Jonathan Corbet <[email protected]>
To: Michael Turquette <[email protected]>
To: Stephen Boyd <[email protected]>
To: Zhang Rui <[email protected]>
To: Eduardo Valentin <[email protected]>
To: Eric Anholt <[email protected]>
To: Stefan Wahren <[email protected]>
To: Greg Kroah-Hartman <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected] # 4.12+
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Stefan Wahren <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions