[PATCH] thermal: imx: do not split quoted string across lines

Mayur Kumar posted 1 patch 1 month ago
drivers/thermal/imx_thermal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] thermal: imx: do not split quoted string across lines
Posted by Mayur Kumar 1 month ago
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>
---
 drivers/thermal/imx_thermal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 38c993d1bcb..5aaacbc5347 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -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);
 
-- 
2.34.1
Re: [PATCH] thermal: imx: do not split quoted string across lines
Posted by Daniel Lezcano 3 weeks, 4 days ago
On 5/11/26 19:42, Mayur Kumar wrote:
> 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>
> ---

Applied, thanks