Skip to content

Commit b0d71cb

Browse files
lucaceresolidlezcano
authored andcommitted
thermal/drivers/bcm2835: Use %pC instead of %pCn
The %pC and %pCn printk format specifiers produce the exact same string. In preparation for removing %pCn, use %pC. Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Luca Ceresoli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 5f9ab5d commit b0d71cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/broadcom/bcm2835_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static int bcm2835_thermal_probe(struct platform_device *pdev)
192192
rate = clk_get_rate(data->clk);
193193
if ((rate < 1920000) || (rate > 5000000))
194194
dev_warn(dev,
195-
"Clock %pCn running at %lu Hz is outside of the recommended range: 1.92 to 5MHz\n",
195+
"Clock %pC running at %lu Hz is outside of the recommended range: 1.92 to 5MHz\n",
196196
data->clk, rate);
197197

198198
/* register of thermal sensor and get info from DT */

0 commit comments

Comments
 (0)