[PATCH][next] thermal/drivers/renesas: Remove trailing space after \n newline

Colin Ian King posted 1 patch 1 year, 3 months ago
drivers/thermal/renesas/rcar_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] thermal/drivers/renesas: Remove trailing space after \n newline
Posted by Colin Ian King 1 year, 3 months ago
There is a extraneous space after a newline in a dev_err message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/thermal/renesas/rcar_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/renesas/rcar_thermal.c b/drivers/thermal/renesas/rcar_thermal.c
index 1e93f60b6d74..ddc8341e5c3f 100644
--- a/drivers/thermal/renesas/rcar_thermal.c
+++ b/drivers/thermal/renesas/rcar_thermal.c
@@ -447,7 +447,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
 		ret = devm_request_irq(dev, irq, rcar_thermal_irq,
 				       IRQF_SHARED, dev_name(dev), common);
 		if (ret) {
-			dev_err(dev, "irq request failed\n ");
+			dev_err(dev, "irq request failed\n");
 			goto error_unregister;
 		}
 
-- 
2.39.2
Re: [PATCH][next] thermal/drivers/renesas: Remove trailing space after \n newline
Posted by Daniel Lezcano 1 year, 3 months ago
On 01/09/2024 18:27, Colin Ian King wrote:
> There is a extraneous space after a newline in a dev_err message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---

Applied, thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH][next] thermal/drivers/renesas: Remove trailing space after \n newline
Posted by Niklas Söderlund 1 year, 3 months ago
On 2024-09-01 17:27:19 +0100, Colin Ian King wrote:
> There is a extraneous space after a newline in a dev_err message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  drivers/thermal/renesas/rcar_thermal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/renesas/rcar_thermal.c b/drivers/thermal/renesas/rcar_thermal.c
> index 1e93f60b6d74..ddc8341e5c3f 100644
> --- a/drivers/thermal/renesas/rcar_thermal.c
> +++ b/drivers/thermal/renesas/rcar_thermal.c
> @@ -447,7 +447,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
>  		ret = devm_request_irq(dev, irq, rcar_thermal_irq,
>  				       IRQF_SHARED, dev_name(dev), common);
>  		if (ret) {
> -			dev_err(dev, "irq request failed\n ");
> +			dev_err(dev, "irq request failed\n");
>  			goto error_unregister;
>  		}
>  
> -- 
> 2.39.2
> 

-- 
Kind Regards,
Niklas Söderlund