summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2018-06-05 13:39:12 +0200
committerPetr Mladek <pmladek@suse.com>2018-06-05 13:39:12 +0200
commit8bafa2a44ff3647904eaa3c9228bfbd36742b9b4 (patch)
treec0bc2ef9e965e50e57aaa22293084ee308b41d3f /drivers/thermal
parentbcf8677bc621e0e3b6ed67668d6bd72908fdec2c (diff)
parent666902e42fd8344b923c02dc5b0f37948ff4f225 (diff)
Merge branch 'for-4.18-vsprintf-pcr-removal' into for-4.18
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/broadcom/bcm2835_thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/broadcom/bcm2835_thermal.c b/drivers/thermal/broadcom/bcm2835_thermal.c
index a4d6a0e2e993..23ad4f9f2143 100644
--- a/drivers/thermal/broadcom/bcm2835_thermal.c
+++ b/drivers/thermal/broadcom/bcm2835_thermal.c
@@ -213,8 +213,8 @@ static int bcm2835_thermal_probe(struct platform_device *pdev)
rate = clk_get_rate(data->clk);
if ((rate < 1920000) || (rate > 5000000))
dev_warn(&pdev->dev,
- "Clock %pCn running at %pCr Hz is outside of the recommended range: 1.92 to 5MHz\n",
- data->clk, data->clk);
+ "Clock %pCn running at %lu Hz is outside of the recommended range: 1.92 to 5MHz\n",
+ data->clk, rate);
/* register of thermal sensor and get info from DT */
tz = thermal_zone_of_sensor_register(&pdev->dev, 0, data,