]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/thermal/broadcom/bcm2835_thermal.c
thermal: bcm2835: Stop using printk format %pCr
[mirror_ubuntu-bionic-kernel.git] / drivers / thermal / broadcom / bcm2835_thermal.c
index a4d6a0e2e9938190a3bd0c6d081a02bbd6f209fd..23ad4f9f21438e45a819da46962025eeeb922590 100644 (file)
@@ -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,