diff mbox series

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

Message ID 20240901162719.144406-1-colin.i.king@gmail.com (mailing list archive)
State New
Delegated to: Daniel Lezcano
Headers show
Series [next] thermal/drivers/renesas: Remove trailing space after \n newline | expand

Commit Message

Colin Ian King Sept. 1, 2024, 4:27 p.m. UTC
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(-)

Comments

Niklas Söderlund Sept. 1, 2024, 5:31 p.m. UTC | #1
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
>
Daniel Lezcano Sept. 2, 2024, 11:12 a.m. UTC | #2
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
diff mbox series

Patch

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;
 		}