]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
thermal/drivers/imx: Do not split quoted string across lines
authorMayur Kumar <kmayur809@gmail.com>
Mon, 11 May 2026 17:42:55 +0000 (23:12 +0530)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 3 Jun 2026 07:12:28 +0000 (09:12 +0200)
The checkpatch tool warns against splitting quoted strings across
multiple lines. Join the dev_info message into a single line to
improve the ability to grep for the message in the source.

Signed-off-by: Mayur Kumar <kmayur809@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260511174255.215207-1-kmayur809@gmail.com
drivers/thermal/imx_thermal.c

index 38c993d1bcb32c9a47a7c1b5b2996321cedc89da..5aaacbc5347869dbd47eed8abfc0d9463232fb36 100644 (file)
@@ -693,8 +693,8 @@ static int imx_thermal_probe(struct platform_device *pdev)
                goto clk_disable;
        }
 
-       dev_info(dev, "%s CPU temperature grade - max:%dC"
-                " critical:%dC passive:%dC\n", data->temp_grade,
+       dev_info(dev, "%s CPU temperature grade - max:%dC critical:%dC passive:%dC\n",
+                        data->temp_grade,
                 data->temp_max / 1000, trips[IMX_TRIP_CRITICAL].temperature / 1000,
                 trips[IMX_TRIP_PASSIVE].temperature / 1000);